org.jboss.ejb3
Class BlockContainerShutdownInterceptor

java.lang.Object
  extended by org.jboss.ejb3.BlockContainerShutdownInterceptor
All Implemented Interfaces:
java.io.Serializable, org.jboss.aop.advice.Interceptor

public class BlockContainerShutdownInterceptor
extends java.lang.Object
implements org.jboss.aop.advice.Interceptor, java.io.Serializable

An interceptor that blocks container shutdown until the interceptor chain completes and rejects invocations if container is not completely started or is stopped.

See Also:
Serialized Form

Constructor Summary
BlockContainerShutdownInterceptor()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockContainerShutdownInterceptor

public BlockContainerShutdownInterceptor()
Method Detail

getName

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

invoke

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