org.jboss.seam.contexts
Class SessionContext

java.lang.Object
  extended by org.jboss.seam.contexts.BasicContext
      extended by 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

Constructor Summary
SessionContext(Map<String,Object> map)
           
 
Method Summary
 void flush()
          Force synchronization to the underlying state store.
 String[] getNames()
          Get all names defined in the context.
 String toString()
           
 
Methods inherited from class org.jboss.seam.contexts.BasicContext
get, get, getType, isSet, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionContext

public SessionContext(Map<String,Object> map)
Method Detail

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


Copyright © 2011 Seam Framework. All Rights Reserved.