Class ModuleDependencyProcessor
java.lang.Object
org.jboss.as.server.deployment.module.ModuleDependencyProcessor
- All Implemented Interfaces:
DeploymentUnitProcessor
Deployment unit processor that will extract module dependencies from an archive.
- Author:
- John E. Bailey, Richard Opalka
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(DeploymentPhaseContext phaseContext) Process the deployment root for module dependency information.voidundeploy(DeploymentUnit context) Undo the deployment processing.
-
Constructor Details
-
ModuleDependencyProcessor
public ModuleDependencyProcessor()
-
-
Method Details
-
deploy
Process the deployment root for module dependency information.- Specified by:
deployin interfaceDeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
DeploymentUnitProcessingException
-
undeploy
Description copied from interface:DeploymentUnitProcessorUndo the deployment processing. This method should undo any action taken bydeploy(); however, if thedeploy()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 thedeploy()method.- Specified by:
undeployin interfaceDeploymentUnitProcessor- Parameters:
context- the deployment unit context
-