Class StartupCountDownInterceptor

java.lang.Object
org.jboss.as.ejb3.component.singleton.StartupCountDownInterceptor
All Implemented Interfaces:
org.jboss.invocation.Interceptor

public class StartupCountDownInterceptor extends Object implements org.jboss.invocation.Interceptor
Interceptor decreasing value of passed CountDownLatch per invocation. Is used on @Startup @Singletons' @PostConstruct methods to signal post-construct successfuly done.
Author:
Fedor Gavrilov
  • Method Details

    • processInvocation

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