|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented to provide a passivation strategy for stateful session beans.
Method Summary | |
Object |
activate(Object primaryKey)
The implementation must NOT use a separate thread to deserialize or otherwise retrieve the instance when this method is called. |
void |
init(Properties props)
|
void |
passivate(Hashtable stateTable)
If the PassivationStrategy operates is own thread for serializing beans to disk, then it must use the IntraVmCopyMonitor.prePassivationOperation() and IntraVmCopyMonitor.postPassivationOperation() methods to demarcate the start and end of serialization of bean instance(s). |
Method Detail |
public void init(Properties props) throws SystemException
SystemException
- if an argument is invalid, e.g. a non-existing directory for passivationpublic void passivate(Hashtable stateTable) throws SystemException
SystemException
public Object activate(Object primaryKey) throws SystemException
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |