Class 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 Detail

      • ShutDownInterceptorFactory

        public ShutDownInterceptorFactory()
    • Method Detail

      • create

        public org.jboss.invocation.Interceptor create​(org.jboss.invocation.InterceptorFactoryContext context)
        Specified by:
        create in interface org.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()