org.jboss.ejb3.stateful
Class StatefulRemoveInterceptor
java.lang.Object
org.jboss.ejb3.aop.AbstractInterceptor
org.jboss.ejb3.stateful.StatefulRemoveInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class StatefulRemoveInterceptor
- extends AbstractInterceptor
Handles @Remove on a Stateful bean.
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
retainIfException
protected boolean retainIfException
StatefulRemoveInterceptor
public StatefulRemoveInterceptor(boolean removeOnException)
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
- Overrides:
getName
in class AbstractInterceptor
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Throws:
Throwable
retainIfException
protected static boolean retainIfException(boolean retainIfException,
Throwable t,
org.jboss.aop.joinpoint.MethodInvocation invocation)
isApplicationException
public static boolean isApplicationException(Throwable t,
org.jboss.aop.joinpoint.MethodInvocation invocation)
removeSession
protected void removeSession(org.jboss.aop.joinpoint.Invocation invocation,
boolean exceptionThrown)
throws Throwable
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.