Class ModuleDependencyProcessor
- java.lang.Object
-
- org.jboss.as.server.deployment.module.ModuleDependencyProcessor
-
- All Implemented Interfaces:
DeploymentUnitProcessor
public final class ModuleDependencyProcessor extends Object implements DeploymentUnitProcessor
Deployment unit processor that will extract module dependencies from an archive.- Author:
- John E. Bailey, Richard Opalka
-
-
Constructor Summary
Constructors Constructor Description ModuleDependencyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentPhaseContext phaseContext)Process the deployment root for module dependency information.voidundeploy(DeploymentUnit context)Undo the deployment processing.
-
-
-
Method Detail
-
deploy
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
Process the deployment root for module dependency information.- Specified by:
deployin interfaceDeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
DeploymentUnitProcessingException
-
undeploy
public void undeploy(DeploymentUnit context)
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
-
-