org.ow2.easybeans.examples.statelessbean
Class StatelessInterceptor

java.lang.Object
  extended by org.ow2.easybeans.examples.statelessbean.StatelessInterceptor

public class StatelessInterceptor
extends java.lang.Object

Simple interceptor class. Mix of business interceptors and lifecycle interceptors.

Author:
Florent Benoit

Constructor Summary
StatelessInterceptor()
           
 
Method Summary
 void myPostConst(InvocationContext invocationContext)
          Callback in an external class.
 void myPreDestroy(InvocationContext invocationContext)
          Callback in an external class.
 java.lang.Object toto(InvocationContext invocationContext)
          Another class interceptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatelessInterceptor

public StatelessInterceptor()
Method Detail

toto

public java.lang.Object toto(InvocationContext invocationContext)
                      throws java.lang.Exception
Another class interceptor.

Parameters:
invocationContext - contains attributes of invocation
Returns:
method's invocation result
Throws:
java.lang.Exception - if invocation fails

myPostConst

@PostConstruct
public void myPostConst(InvocationContext invocationContext)
Callback in an external class.

Parameters:
invocationContext - the invocationcontext.

myPreDestroy

@PreDestroy
public void myPreDestroy(InvocationContext invocationContext)
Callback in an external class.

Parameters:
invocationContext - the invocationcontext.


Copyright © 2006-2010 OW2 Consortium. All Rights Reserved.