Class JndiNamingDependencyProcessor

java.lang.Object
org.jboss.as.naming.deployment.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 Details

    • JndiNamingDependencyProcessor

      public JndiNamingDependencyProcessor()
  • Method Details

    • 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 ServiceName serviceName(ServiceName deploymentUnitServiceName)
    • serviceName

      public static 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