org.jboss.seam.interceptors
Class RemoveInterceptor

java.lang.Object
  extended by org.jboss.seam.interceptors.RemoveInterceptor

@Around(value={ValidationInterceptor.class,BijectionInterceptor.class,ConversationInterceptor.class})
public class RemoveInterceptor
extends Object

Removes components from the Seam context after invocation of an EJB @Remove method.

Author:
Gavin King

Field Summary
protected  Component component
           
 
Constructor Summary
RemoveInterceptor()
           
 
Method Summary
 Object removeIfNecessary(javax.interceptor.InvocationContext invocation)
           
 void setComponent(Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected Component component
Constructor Detail

RemoveInterceptor

public RemoveInterceptor()
Method Detail

removeIfNecessary

public Object removeIfNecessary(javax.interceptor.InvocationContext invocation)
                         throws Exception
Throws:
Exception

setComponent

public void setComponent(Component component)