org.objectweb.easybeans.tests.enhancer.interceptors.lifecycle.bean
Class AbsSessionBean

java.lang.Object
  extended by org.objectweb.easybeans.tests.enhancer.interceptors.lifecycle.bean.AbsSessionBean
All Implemented Interfaces:
SessionBeanItf
Direct Known Subclasses:
StatefulBean, StatelessBean, StatelessBean2

public class AbsSessionBean
extends java.lang.Object
implements SessionBeanItf

Simple common methods for a session bean.

Author:
Florent Benoit

Field Summary
private  boolean postConstructCalled
          postConstruct method has been called ?
private  boolean preDestroyCalled
          preDestroy method has been called ?
 
Constructor Summary
AbsSessionBean()
           
 
Method Summary
 void calledPostConstruct()
          Sets that method marked by @javax.ejb.PostConstruct has been called.
 void calledPreDestroy()
          Sets that method marked by @javax.ejb.PreDestroy has been called.
 boolean isPostConstructCalled()
           
 boolean isPreDestroyCalled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

postConstructCalled

private boolean postConstructCalled
postConstruct method has been called ?


preDestroyCalled

private boolean preDestroyCalled
preDestroy method has been called ?

Constructor Detail

AbsSessionBean

public AbsSessionBean()
Method Detail

calledPostConstruct

public void calledPostConstruct()
Sets that method marked by @javax.ejb.PostConstruct has been called.


isPostConstructCalled

public boolean isPostConstructCalled()
Returns:
true if method marked by @javax.ejb.PostConstruct has been called.

calledPreDestroy

public void calledPreDestroy()
Sets that method marked by @javax.ejb.PreDestroy has been called.


isPreDestroyCalled

public boolean isPreDestroyCalled()
Returns:
true if method marked by @javax.ejb.PreDestroy has been called.