Class ShutDownInterceptorFactory
java.lang.Object
org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory
- All Implemented Interfaces:
org.jboss.invocation.InterceptorFactory
public class ShutDownInterceptorFactory
extends Object
implements org.jboss.invocation.InterceptorFactory
A per component interceptor that allows the Jakarta Enterprise Beans to shutdown gracefully.
- Author:
- Stuart Douglas
-
Field Summary
Fields inherited from interface org.jboss.invocation.InterceptorFactory
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShutDownInterceptorFactory
public ShutDownInterceptorFactory()
-
-
Method Details
-
create
public org.jboss.invocation.Interceptor create(org.jboss.invocation.InterceptorFactoryContext context) - Specified by:
createin interfaceorg.jboss.invocation.InterceptorFactory
-
shutdown
public void shutdown()Upon calling this method the Jakarta Enterprise Beans will be set to a shutdown state, and no further invocations will be allowed. It will then wait for all active invocation to finish and then return. -
start
public void start()
-