org.jboss.ejb3.cache
Interface PassivationManager<T extends java.io.Serializable>

All Known Implementing Classes:
PassivationGroupContainer

public interface PassivationManager<T extends java.io.Serializable>

Manage passivation lifecycle callbacks on an object.


Method Summary
 void postActivate(T obj)
          This method is called after an object has been retrieved from an ObjectStore.
 void prePassivate(T obj)
          This method is called before an object is serialized into an ObjectStore.
 

Method Detail

postActivate

void postActivate(T obj)
This method is called after an object has been retrieved from an ObjectStore.

Parameters:
obj - the object

prePassivate

void prePassivate(T obj)
This method is called before an object is serialized into an ObjectStore.

Parameters:
obj - the object