|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionManager
This is the session manager component. The main purpose of this component is creating and termination sessions
Field Summary | |
---|---|
static String |
ROLE
Deprecated. Avalon role |
Method Summary | |
---|---|
void |
appendContextFragment(String contextName,
String path,
DocumentFragment fragment)
Deprecated. Append data in a public context. |
Session |
createSession()
Deprecated. Create a new session for the user. |
DocumentFragment |
getContextFragment(String contextName,
String path)
Deprecated. Get information from the context. |
Session |
getSession(boolean createFlag)
Deprecated. Get the session for the current user. |
void |
mergeContextFragment(String contextName,
String path,
DocumentFragment fragment)
Deprecated. Merge data in a public context. |
void |
removeContextFragment(String contextName,
String path)
Deprecated. Remove data in a public context. |
void |
setContextFragment(String contextName,
String path,
DocumentFragment fragment)
Deprecated. Set data in a public context. |
boolean |
streamContextFragment(String contextName,
String path,
XMLConsumer consumer)
Deprecated. Stream public context data. |
void |
terminateSession(boolean force)
Deprecated. Terminate the current session. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Session createSession()
Session getSession(boolean createFlag)
null
is returned.
If createFlag is true, the session is created if it does not exist.
void terminateSession(boolean force) throws ProcessingException
force
- If this is set to true the session is terminated, if
it is set to false, the session is only terminated
if no session context is available.
ProcessingException
DocumentFragment getContextFragment(String contextName, String path) throws ProcessingException
null
is returned.
contextName
- The name of the public context.path
- XPath expression specifying which data to get.
null
ProcessingException
boolean streamContextFragment(String contextName, String path, XMLConsumer consumer) throws SAXException, ProcessingException
contextName
- The name of the public context.path
- XPath expression specifying which data to get.
true
is returned,
otherwise false
is returned.
SAXException
ProcessingException
void setContextFragment(String contextName, String path, DocumentFragment fragment) throws ProcessingException
contextName
- The name of the public context.path
- XPath expression specifying where to set the data.fragment
- The DocumentFragment containing the data.
ProcessingException
void appendContextFragment(String contextName, String path, DocumentFragment fragment) throws ProcessingException
contextName
- The name of the public context.path
- XPath expression specifying where to append the data.fragment
- The DocumentFragment containing the data.
ProcessingException
void mergeContextFragment(String contextName, String path, DocumentFragment fragment) throws ProcessingException
contextName
- The name of the public context.path
- XPath expression specifying where to merge the data.fragment
- The DocumentFragment containing the data.
ProcessingException
void removeContextFragment(String contextName, String path) throws ProcessingException
contextName
- The name of the public context.path
- XPath expression specifying where to merge the data.
ProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |