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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.invocation.Interceptor
    create(org.jboss.invocation.InterceptorFactoryContext context)
     
    void
    Upon calling this method the Jakarta Enterprise Beans will be set to a shutdown state, and no further invocations will be allowed.
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShutDownInterceptorFactory

      public ShutDownInterceptorFactory()
  • Method Details

    • 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()