|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatefulSessionPersistenceManager
Comment
Field Summary | |
---|---|
static String |
DEFAULT_STORE_DIRECTORY_NAME
The default store directory name ("sessions"). |
static org.jboss.logging.Logger |
log
|
Method Summary | |
---|---|
StatefulBeanContext |
activateSession(Object id)
Restores session state from the serialized file & invokes SessionBean.ejbActivate() on the target bean. |
void |
destroy()
|
List<StatefulBeanContext> |
getPassivatedBeans()
|
void |
initialize(Container container)
|
void |
passivateSession(StatefulBeanContext ctx)
Invokes SessionBean.ejbPassivate() on the target bean and saves the
state of the session to a file. |
void |
removePassivated(Object id)
Removes the saved state file (if any) for the given session id. |
Field Detail |
---|
static final org.jboss.logging.Logger log
static final String DEFAULT_STORE_DIRECTORY_NAME
Method Detail |
---|
StatefulBeanContext activateSession(Object id)
SessionBean.ejbActivate()
on the target bean.
void passivateSession(StatefulBeanContext ctx)
SessionBean.ejbPassivate()
on the target bean and saves the
state of the session to a file.
List<StatefulBeanContext> getPassivatedBeans()
void removePassivated(Object id)
void destroy() throws Exception
Exception
void initialize(Container container) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |