Class StatefulRemoveInterceptor
java.lang.Object
org.jboss.as.ejb3.component.stateful.StatefulRemoveInterceptor
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
An interceptor which handles an invocation on a
Remove method of a stateful session bean. This interceptor
removes the stateful session once the method completes (either successfully or with an exception). If the remove method
was marked with "retainIfException" to true and if the remove method threw a ApplicationException then
this interceptor does *not* remove the stateful session.
User: Jaikiran Pai-
Field Summary
Fields inherited from interface org.jboss.invocation.Interceptor
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessInvocation(org.jboss.invocation.InterceptorContext context)
-
Constructor Details
-
StatefulRemoveInterceptor
public StatefulRemoveInterceptor(boolean retainIfException)
-
-
Method Details
-
processInvocation
- Specified by:
processInvocationin interfaceorg.jboss.invocation.Interceptor- Throws:
Exception
-