Class JndiNamingDependencyProcessor

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

    public class JndiNamingDependencyProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor
    Adds a service that depends on all JNDI bindings from the deployment to be up.

    As binding services are not children of the root deployment unit service this service is necessary to ensure the deployment is not considered complete until add bindings are up

    Author:
    Stuart Douglas, Richard Opalka
    • Constructor Detail

      • JndiNamingDependencyProcessor

        public JndiNamingDependencyProcessor()
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
                    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
      • serviceName

        public static org.jboss.msc.service.ServiceName serviceName​(org.jboss.msc.service.ServiceName deploymentUnitServiceName)
      • serviceName

        public static org.jboss.msc.service.ServiceName serviceName​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
      • undeploy

        public void undeploy​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
        Specified by:
        undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor