|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StatefulSessionPersistenceManager
Comment
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_STORE_DIRECTORY_NAME
The default store directory name ("sessions"). |
static org.jboss.logging.Logger |
log
|
| Method Summary | |
|---|---|
StatefulBeanContext |
activateSession(java.lang.Object id)
Restores session state from the serialized file & invokes SessionBean.ejbActivate() on the target bean. |
void |
destroy()
|
java.util.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(java.lang.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 java.lang.String DEFAULT_STORE_DIRECTORY_NAME
| Method Detail |
|---|
StatefulBeanContext activateSession(java.lang.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.
java.util.List<StatefulBeanContext> getPassivatedBeans()
void removePassivated(java.lang.Object id)
void destroy()
throws java.lang.Exception
java.lang.Exception
void initialize(Container container)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||