org.jboss.seam.contexts
public class ServerConversationContext extends Object implements Context
Constructor and Description |
---|
ServerConversationContext(Map<String,Object> session) |
ServerConversationContext(Map<String,Object> session,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
flush()
Propagate additions and removals to the HttpSession if
the current conversation is long-running, or remove all
attributes if it is a temporary conversation.
|
Object |
get(Class clazz)
Get a component instance, by its component name,
as determined by the @Name annotation value.
|
Object |
get(String name)
Get a value by name.
|
String[] |
getNames()
Get all names defined in the context.
|
ScopeType |
getType()
Get the scope that this context object is associated with,
|
boolean |
isSet(String name)
Is the value set?
|
void |
remove(String name)
Unset a value.
|
void |
set(String name,
Object value)
Set a value.
|
String |
toString() |
void |
unflush() |
public ScopeType getType()
Context
public void set(String name, Object value)
Context
public boolean isSet(String name)
Context
public String[] getNames()
Context
public Object get(Class clazz)
Context
public void clear()
public void unflush()
public void flush()
Copyright © 2015 Seam Framework. All Rights Reserved.