Class StatefulRemoveInterceptor
- java.lang.Object
-
- org.jboss.as.ejb3.component.stateful.StatefulRemoveInterceptor
-
- All Implemented Interfaces:
org.jboss.invocation.Interceptor
public class StatefulRemoveInterceptor extends Object implements org.jboss.invocation.Interceptor
An interceptor which handles an invocation on aRemovemethod 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 aApplicationExceptionthen this interceptor does *not* remove the stateful session. User: Jaikiran Pai
-
-
Constructor Summary
Constructors Constructor Description StatefulRemoveInterceptor(boolean retainIfException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectprocessInvocation(org.jboss.invocation.InterceptorContext context)
-