org.objectweb.easybeans.tests.common.interceptors.lifecycle
Class AllLifecycle01Interceptor

java.lang.Object
  extended by org.objectweb.easybeans.tests.common.interceptors.lifecycle.AllLifecycle01Interceptor

public class AllLifecycle01Interceptor
extends java.lang.Object

This interceptor contains the four life cycle callbacks interceptors method.

Author:
Eduardo Studzinski Estima de Castro, Gisele Pinheiro Souza

Field Summary
private  org.objectweb.easybeans.log.JLog logger
          Log helper.
 
Constructor Summary
AllLifecycle01Interceptor()
           
 
Method Summary
 void postActivate(javax.ejb.InvocationContext invocationContext)
          Simple lifecyle callback interceptor method to PostActivate.
 void postConstruct(javax.ejb.InvocationContext invocationContext)
          Simple lifecyle callback interceptor method to PostConstruct.
 void preDestroy(javax.ejb.InvocationContext invocationContext)
          Simple lifecyle callback interceptor method to PreDestroy.
 void prePassivate(javax.ejb.InvocationContext invocationContext)
          Simple lifecyle callback interceptor method to PrePassivate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private org.objectweb.easybeans.log.JLog logger
Log helper.

Constructor Detail

AllLifecycle01Interceptor

public AllLifecycle01Interceptor()
Method Detail

postConstruct

public void postConstruct(javax.ejb.InvocationContext invocationContext)
Simple lifecyle callback interceptor method to PostConstruct.

Parameters:
invocationContext - contains attributes of invocation

preDestroy

public void preDestroy(javax.ejb.InvocationContext invocationContext)
                throws java.lang.Exception
Simple lifecyle callback interceptor method to PreDestroy.

Parameters:
invocationContext - contains attributes of invocation
Throws:
java.lang.Exception - if invocation fails

postActivate

public void postActivate(javax.ejb.InvocationContext invocationContext)
                  throws java.lang.Exception
Simple lifecyle callback interceptor method to PostActivate.

Parameters:
invocationContext - contains attributes of invocation
Throws:
java.lang.Exception - if invocation fails

prePassivate

public void prePassivate(javax.ejb.InvocationContext invocationContext)
                  throws java.lang.Exception
Simple lifecyle callback interceptor method to PrePassivate.

Parameters:
invocationContext - contains attributes of invocation
Throws:
java.lang.Exception - if invocation fails