FileDocCategorySizeDatePackage
StatefulSessionPersistenceManager.javaAPI DocJBoss 4.2.12295Fri Jul 13 20:53:48 BST 2007org.jboss.ejb3.cache.simple

StatefulSessionPersistenceManager

public interface StatefulSessionPersistenceManager
Comment
author
Bill Burke
version
$Revision: 61329 $

Fields Summary
Logger
log
String
DEFAULT_STORE_DIRECTORY_NAME
The default store directory name ("sessions").
Constructors Summary
Methods Summary
public org.jboss.ejb3.stateful.StatefulBeanContextactivateSession(java.lang.Object id)
Restores session state from the serialized file & invokes {@link javax.ejb.SessionBean#ejbActivate} on the target bean.

public voiddestroy()

public intgetNumPassivatedBeans()

public java.util.ListgetPassivatedBeans()

public voidinitialize(org.jboss.ejb3.Container container)

public voidpassivateSession(org.jboss.ejb3.stateful.StatefulBeanContext ctx)
Invokes {@link javax.ejb.SessionBean#ejbPassivate} on the target bean and saves the state of the session to a file.

public voidremovePassivated(java.lang.Object id)
Removes the saved state file (if any) for the given session id.