Class ModuleJndiBindingProcessor

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

    public class ModuleJndiBindingProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor
    Processor that sets up JNDI bindings that are owned by the module. It also handles class level jndi bindings that belong to components that do not have their own java:comp namespace, and class level bindings declared in namespaces above java:comp.

    This processor is also responsible for throwing an exception if any ee component classes have been marked as invalid.

    Author:
    Stuart Douglas, Eduardo Martins
    • Constructor Detail

      • ModuleJndiBindingProcessor

        public ModuleJndiBindingProcessor​(boolean appclient)
    • 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
      • addJndiBinding

        protected void addJndiBinding​(EEModuleConfiguration module,
                                      BindingConfiguration bindingConfiguration,
                                      org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext,
                                      List<org.jboss.msc.service.ServiceName> dependencies)
                               throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • equals

        public static boolean equals​(Object one,
                                     Object two)