Class ModuleJndiBindingProcessor
java.lang.Object
org.jboss.as.ee.component.deployers.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddJndiBinding(EEModuleConfiguration module, BindingConfiguration bindingConfiguration, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, List<org.jboss.msc.service.ServiceName> dependencies) voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) static booleanMethods 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
-
ModuleJndiBindingProcessor
public ModuleJndiBindingProcessor(boolean appclient)
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
deployin interfaceorg.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
-