Class StartupAwaitDeploymentUnitProcessor

  • All Implemented Interfaces:
    org.jboss.as.server.deployment.DeploymentUnitProcessor

    public class StartupAwaitDeploymentUnitProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor
    Adds StartupAwaitInterceptor to exposed methods of Jakarta Enterprise Beans, forcing users to wait until all startup beans in the deployment are done with post-construct methods.
    Author:
    Fedor Gavrilov
    • Constructor Detail

      • StartupAwaitDeploymentUnitProcessor

        public StartupAwaitDeploymentUnitProcessor()
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext context)
                    throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Specified by:
        deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException