Class StartupAwaitDeploymentUnitProcessor
java.lang.Object
org.jboss.as.ejb3.deployment.processors.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Constructor Details
-
StartupAwaitDeploymentUnitProcessor
public StartupAwaitDeploymentUnitProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext context) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-