org.objectweb.easybeans.api.bean.lifecycle
Interface EasyBeansSFSBLifeCycle

All Superinterfaces:
EasyBeansLifeCycle, EasyBeansSBLifeCycle
All Known Subinterfaces:
EasyBeansSFSB

public interface EasyBeansSFSBLifeCycle
extends EasyBeansSBLifeCycle

Defines the lifecycle of a stateful session bean.

Author:
Florent Benoit

Method Summary
 void postActivateEasyBeansLifeCycle()
          The PrePassivate and PostActivate callback methods are only called on stateful session bean instances.
PrePassivate and PostActivate callback methods should not be defined for stateless session beans.
The PostActivate notification signals the instance it has just been reactivated.
 void prePassivateEasyBeansLifeCycle()
          The PrePassivate and PostActivate callback methods are only called on stateful session bean instances.
 
Methods inherited from interface org.objectweb.easybeans.api.bean.lifecycle.EasyBeansLifeCycle
postConstructEasyBeansLifeCycle, preDestroyEasyBeansLifeCycle
 

Method Detail

prePassivateEasyBeansLifeCycle

void prePassivateEasyBeansLifeCycle()
The PrePassivate and PostActivate callback methods are only called on stateful session bean instances. PrePassivate and PostActivate callback methods should not be defined for stateless session beans. The PrePassivate callback notification signals the intent of the container to passivate the instance.


postActivateEasyBeansLifeCycle

void postActivateEasyBeansLifeCycle()
The PrePassivate and PostActivate callback methods are only called on stateful session bean instances.
PrePassivate and PostActivate callback methods should not be defined for stateless session beans.
The PostActivate notification signals the instance it has just been reactivated. Because containers automatically maintain the conversational state of a stateful session bean instance when it is passivated, most session beans do not need these notifications.