org.objectweb.easybeans.container.session.stateful.interceptors
Class AbsRemoveInterceptor

java.lang.Object
  extended by org.objectweb.easybeans.container.session.stateful.interceptors.AbsRemoveInterceptor
Direct Known Subclasses:
RemoveAlwaysInterceptor, RemoveOnlyWithoutExceptionInterceptor

public abstract class AbsRemoveInterceptor
extends java.lang.Object

Defines a method that discard the bean found in the invocation context.

Author:
Florent Benoit

Constructor Summary
AbsRemoveInterceptor()
           
 
Method Summary
protected  void remove(EasyBeansInvocationContext invocationContext)
          Remove from the factory's pool the bean found in the current invocation context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsRemoveInterceptor

public AbsRemoveInterceptor()
Method Detail

remove

protected void remove(EasyBeansInvocationContext invocationContext)
               throws PoolException
Remove from the factory's pool the bean found in the current invocation context.

Parameters:
invocationContext - the context of the current invocation
Throws:
PoolException - if removal is failing