org.jboss.seam.core
Class ConversationalInterceptor
java.lang.Object
org.jboss.seam.intercept.AbstractInterceptor
org.jboss.seam.core.ConversationalInterceptor
- All Implemented Interfaces:
- Serializable, OptimizedInterceptor
@Interceptor(stateless=true,
around={BijectionInterceptor.class,BusinessProcessInterceptor.class})
public class ConversationalInterceptor
- extends AbstractInterceptor
Check that a conversational bean is not being invoked
outside the scope of a long-running conversation. If
it is, throw an exception.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversationalInterceptor
public ConversationalInterceptor()
aroundInvoke
@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
throws Exception
- Throws:
Exception
isInterceptorEnabled
public boolean isInterceptorEnabled()
- Description copied from interface:
OptimizedInterceptor
- 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