Class AbstractPlatformBindingProcessor
java.lang.Object
org.jboss.as.ee.component.deployers.AbstractPlatformBindingProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public abstract class AbstractPlatformBindingProcessor
extends Object
implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Foundation for processors which binds EE platform common resources, to all EE module and comp naming contexts.
- Author:
- emmartins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBinding(String source, String target, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEModuleDescription moduleDescription) protected abstract voidaddBindings(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEModuleDescription moduleDescription) Concrete implementations should use this method to add bindings to the module description, throughaddBinding(String, String, DeploymentUnit, EEModuleDescription)voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) Methods 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
-
AbstractPlatformBindingProcessor
public AbstractPlatformBindingProcessor()
-
-
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
-
addBindings
protected abstract void addBindings(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEModuleDescription moduleDescription) Concrete implementations should use this method to add bindings to the module description, throughaddBinding(String, String, DeploymentUnit, EEModuleDescription)- Parameters:
deploymentUnit-moduleDescription-
-
addBinding
protected void addBinding(String source, String target, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEModuleDescription moduleDescription) - Parameters:
source-target- target jndi name, relative to namespace root, e.g. for java:comp/DefaultDataSource the target param value should be DefaultDataSourcemoduleDescription-
-