public abstract class AbstractPlatformBindingProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
| Constructor and Description |
|---|
AbstractPlatformBindingProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBinding(String source,
String target,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
EEModuleDescription moduleDescription) |
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, through
addBinding(String, String, DeploymentUnit, EEModuleDescription) |
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessororg.jboss.as.server.deployment.DeploymentUnitProcessingExceptionprotected abstract void addBindings(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
EEModuleDescription moduleDescription)
addBinding(String, String, DeploymentUnit, EEModuleDescription)deploymentUnit - moduleDescription - protected void addBinding(String source, String target, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEModuleDescription moduleDescription)
source - target - target jndi name, relative to namespace root, e.g. for java:comp/DefaultDataSource the target param value should be DefaultDataSourcemoduleDescription - public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessorCopyright © 2021 JBoss by Red Hat. All rights reserved.