Class StartupAwaitInterceptor

  • All Implemented Interfaces:
    org.jboss.invocation.Interceptor

    public class StartupAwaitInterceptor
    extends Object
    implements org.jboss.invocation.Interceptor
    Interceptor forcing invocation to wait until passed CountDownLatch value is decreased to 0. Is used to suspend external requests to Jakarta Enterprise Beans methods until all startup beans in the deployment are started as per spec.
    Author:
    Fedor Gavrilov
    • Method Detail

      • processInvocation

        public Object processInvocation​(org.jboss.invocation.InterceptorContext context)
                                 throws Exception
        Specified by:
        processInvocation in interface org.jboss.invocation.Interceptor
        Throws:
        Exception