org.jboss.ejb3
Class BlockContainerShutdownInterceptor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockContainerShutdownInterceptor
public BlockContainerShutdownInterceptor()
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.