org.objectweb.easybeans.api
Interface EasyBeansInterceptor

All Known Subinterfaces:
NamingInterceptor
All Known Implementing Classes:
AbsENCInterceptor, AbsTransactionInterceptor, AccessInterceptor, BMTStatefulTransactionInterceptor, BMTStatelessTransactionInterceptor, BMTTransactionInterceptor, CMTMandatoryTransactionInterceptor, CMTNeverTransactionInterceptor, CMTNotSupportedTransactionInterceptor, CMTRequiredTransactionInterceptor, CMTRequiresNewTransactionInterceptor, CMTSupportsTransactionInterceptor, DenyAllInterceptor, EZBENCInterceptor, JettyENCInterceptor, JOnASENCInterceptor, ListenerSessionSynchronizationInterceptor, NoTxMethodCallOnlyEntityManagerInterceptor, RemoveAlwaysInterceptor, RemoveOnlyWithoutExceptionInterceptor, RunAsAccessInterceptor, 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