|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the context manager. The main purpose of this component is maintaining contexts. Each application can have one or more session contexts. A context is a data container that can hold arbitrary information. The contained information can either be an XML tree or custom objects.
Field Summary | |
static String |
ROLE
Avalon role |
Method Summary | |
SessionContext |
createContext(String name,
String loadURI,
String saveURI)
Create a new public context in the session. |
void |
deleteContext(String name)
Delete a public context in the session. |
boolean |
existsContext(String name)
Check if a public context exists. |
SessionContext |
getContext(String name)
Get a public context. |
boolean |
hasSessionContext()
Check if a context exists |
Field Detail |
public static final String ROLE
Method Detail |
public SessionContext createContext(String name, String loadURI, String saveURI) throws IOException, SAXException, ProcessingException
IOException
SAXException
ProcessingException
public void deleteContext(String name) throws ProcessingException
ProcessingException
public SessionContext getContext(String name) throws ProcessingException
null
is returned.
ProcessingException
public boolean hasSessionContext() throws ProcessingException
ProcessingException
public boolean existsContext(String name) throws ProcessingException
true
is
returned.
ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |