org.jboss.seam.intercept
Interface OptimizedInterceptor

All Known Implementing Classes:
AbstractInterceptor, AsynchronousInterceptor, BijectionInterceptor, BusinessProcessInterceptor, ConversationalInterceptor, ConversationInterceptor, EntityManagerProxyInterceptor, EventInterceptor, HibernateSessionProxyInterceptor, ManagedEntityInterceptor, MethodContextInterceptor, RemoveInterceptor, RollbackInterceptor, SecurityInterceptor, SynchronizationInterceptor, TransactionInterceptor, WSSecurityInterceptor

public interface OptimizedInterceptor

Interface that may be optionally implemented by an interceptor, to make the stacktrace smaller.

Author:
Gavin King, Pete Muir

Method Summary
 Object aroundInvoke(InvocationContext ic)
           
 boolean isInterceptorEnabled()
          Returns true if this interceptor should be enabled.
 

Method Detail

aroundInvoke

Object aroundInvoke(InvocationContext ic)
                    throws Exception
Throws:
Exception

isInterceptorEnabled

boolean isInterceptorEnabled()
Returns true if this interceptor should be enabled. The component and the annotation will be injected into the interceptor instance before this method is called, and can be used to decide whether the interceptor should be enabled