|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
API for accessing named components and named values that are currently associated with a particular seam scope.
Method Summary | |
---|---|
void |
flush()
Force synchronization to the underlying state store. |
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. |
Method Detail |
---|
Object get(String name)
Object get(Class clazz)
void set(String name, Object value)
void remove(String name)
boolean isSet(String name)
String[] getNames()
void flush()
ScopeType getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |