org.jboss.seam.contexts
Class SessionContext
java.lang.Object
org.jboss.seam.contexts.BasicContext
org.jboss.seam.contexts.SessionContext
- All Implemented Interfaces:
- Context
public class SessionContext
- extends BasicContext
Session context - state associated with a user session.
Session state may be passivated or replicated.
- Author:
- Gavin King
SessionContext
public SessionContext(Map<String,Object> map)
getNames
public String[] getNames()
- Description copied from interface:
Context
- Get all names defined in the context.
- Specified by:
getNames
in interface Context
- Overrides:
getNames
in class BasicContext
flush
public void flush()
- Description copied from interface:
Context
- Force synchronization to the underlying state store.
Some implementations of Context "persist" state back to
the underlying store synchronously, others asynchronously.
This method is usually called by Seam, when necessary.
- Specified by:
flush
in interface Context
- Overrides:
flush
in class BasicContext
toString
public String toString()
- Overrides:
toString
in class BasicContext