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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
     
    static org.jboss.msc.service.ServiceName
    serviceName(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
     
    static org.jboss.msc.service.ServiceName
    serviceName(org.jboss.msc.service.ServiceName deploymentUnitServiceName)
     
    void
    undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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