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
-
-
Constructor Summary
Constructors Constructor Description ShutDownInterceptorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.invocation.Interceptorcreate(org.jboss.invocation.InterceptorFactoryContext context)voidshutdown()Upon calling this method the Jakarta Enterprise Beans will be set to a shutdown state, and no further invocations will be allowed.voidstart()
-
-
-
Method Detail
-
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()
-
-