org.jboss.ejb3.stateful
Class StatefulRemoveInterceptor

java.lang.Object
  extended by org.jboss.ejb3.stateful.StatefulRemoveInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class StatefulRemoveInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

Handles @Remove on a Stateful bean.

Author:
Bill Burke

Field Summary
protected  boolean retainIfException
           
 
Constructor Summary
StatefulRemoveInterceptor(boolean removeOnException)
           
 
Method Summary
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
protected  void removeSession(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

retainIfException

protected boolean retainIfException
Constructor Detail

StatefulRemoveInterceptor

public StatefulRemoveInterceptor(boolean removeOnException)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable

removeSession

protected void removeSession(org.jboss.aop.joinpoint.Invocation invocation)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.