Class DeploymentDependenciesProcessor
java.lang.Object
org.jboss.as.server.deployment.dependencies.DeploymentDependenciesProcessor
- All Implemented Interfaces:
DeploymentUnitProcessor
Processor that handles inter-deployment dependencies. If this deployment has a dependency specified on
another deployment then the next phase will be set to passive, and a dependency on the other deployment will
be added.
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(DeploymentPhaseContext phaseContext) Perform a single step in processing the deployment phase.static voidMethods 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
-
DeploymentDependenciesProcessor
public DeploymentDependenciesProcessor()
-
-
Method Details
-
registerJBossXMLParsers
public static void registerJBossXMLParsers() -
deploy
Description copied from interface:DeploymentUnitProcessorPerform a single step in processing the deployment phase. The resulting state after executing this method should be that either the method completes normally and all changes are made, or an exception is thrown and all changes made in this method are reverted such that the original pre-invocation state is restored.Data stored on the phase context only exists until the end of the phase. The deployment unit context which is persistent is available via
context.getDeploymentUnitContext().- Specified by:
deployin interfaceDeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
DeploymentUnitProcessingException- if an error occurs during processing
-