public class DataSourceDefinitionDeploymentDescriptorParser extends AbstractDeploymentDescriptorBindingsProcessor
Constructor and Description |
---|
DataSourceDefinitionDeploymentDescriptorParser() |
Modifier and Type | Method and Description |
---|---|
protected List<BindingConfiguration> |
processDescriptorEntries(DeploymentUnit deploymentUnit,
DeploymentDescriptorEnvironment environment,
ResourceInjectionTarget resourceInjectionTarget,
ComponentDescription componentDescription,
ClassLoader classLoader,
DeploymentReflectionIndex deploymentReflectionIndex,
EEApplicationClasses applicationClasses) |
void |
undeploy(DeploymentUnit context)
Undo the deployment processing.
|
deploy, processInjectionTargets
public DataSourceDefinitionDeploymentDescriptorParser()
protected List<BindingConfiguration> processDescriptorEntries(DeploymentUnit deploymentUnit, DeploymentDescriptorEnvironment environment, ResourceInjectionTarget resourceInjectionTarget, ComponentDescription componentDescription, ClassLoader classLoader, DeploymentReflectionIndex deploymentReflectionIndex, EEApplicationClasses applicationClasses) throws DeploymentUnitProcessingException
processDescriptorEntries
in class AbstractDeploymentDescriptorBindingsProcessor
DeploymentUnitProcessingException
public void undeploy(DeploymentUnit context)
DeploymentUnitProcessor
deploy()
; however, if
the deploy()
method added services, they need not be removed here (they will automatically be removed).
This method should avoid throwing exceptions; any exceptions thrown are logged and ignored. Implementations of this
method cannot assume that the deployment process has (or has not) proceeded beyond the current processor, nor can they
assume that the undeploy()
method will be called from the same thread as the deploy()
method.
undeploy
in interface DeploymentUnitProcessor
undeploy
in class AbstractDeploymentDescriptorBindingsProcessor
context
- the deployment unit contextCopyright © 2014 JBoss by Red Hat. All rights reserved.