org.jboss.seam.ejb
Class RemoveInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.AbstractInterceptor
      extended by org.jboss.seam.ejb.RemoveInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

@Interceptor(stateless=true,
             type=CLIENT)
public class RemoveInterceptor
extends AbstractInterceptor

Removes SFSB components from the Seam context after invocation of an EJB @Remove method, or when a system exception is thrown from the bean.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
RemoveInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
           
 
Methods inherited from class org.jboss.seam.intercept.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveInterceptor

public RemoveInterceptor()
Method Detail

aroundInvoke

@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
                    throws Exception
Throws:
Exception