org.jboss.ejb3
Class BlockContainerShutdownInterceptor

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

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

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

Author:
Paul Ferraro
See Also:
Serialized Form

Constructor Summary
BlockContainerShutdownInterceptor()
           
 
Method Summary
 String getName()
           
 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 String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor
See Also:
Interceptor.getName()

invoke

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.