org.objectweb.easybeans.api
Interface EasyBeansInterceptor

All Known Implementing Classes:
AbsTransactionInterceptor, BMTStatefulTransactionInterceptor, BMTStatelessTransactionInterceptor, BMTTransactionInterceptor, CMTMandatoryTransactionInterceptor, CMTNeverTransactionInterceptor, CMTNotSupportedTransactionInterceptor, CMTRequiredTransactionInterceptor, CMTRequiresNewTransactionInterceptor, CMTSupportsTransactionInterceptor, EZBENCInterceptor, JOnASENCInterceptor, ListenerSessionSynchronizationInterceptor, NoTxMethodCallOnlyEntityManagerInterceptor, RemoveAlwaysInterceptor, RemoveOnlyWithoutExceptionInterceptor, TomcatENCInterceptor

public interface EasyBeansInterceptor

This interface will be implemented by all EasyBeans interceptors.

Author:
Florent Benoit

Method Summary
 java.lang.Object intercept(EasyBeansInvocationContext invocationContext)
          Defines the interceptor schema of EasyBeans interceptors.
 

Method Detail

intercept

java.lang.Object intercept(EasyBeansInvocationContext invocationContext)
                           throws java.lang.Exception
Defines the interceptor schema of EasyBeans interceptors.

Parameters:
invocationContext - context with useful attributes on the current invocation
Returns:
result of the next invocation (to chain interceptors)
Throws:
java.lang.Exception - if interceptor fails