|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PassivationStrategy
This interface is implemented to provide a passivation strategy for stateful session beans.
Method Summary | |
---|---|
java.lang.Object |
activate(java.lang.Object primaryKey)
The implementation must NOT use a separate thread to deserialize or otherwise retrieve the instance when this method is called. |
void |
init(java.util.Properties props)
|
void |
passivate(java.util.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 |
---|
void init(java.util.Properties props) throws SystemException
SystemException
- if an argument is invalid, e.g. a non-existing directory for passivationvoid passivate(java.util.Hashtable stateTable) throws SystemException
SystemException
java.lang.Object activate(java.lang.Object primaryKey) throws SystemException
SystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |