Package org.jboss.as.ee.structure
Class GlobalDirectoryDependencyProcessor
java.lang.Object
org.jboss.as.ee.structure.GlobalDirectoryDependencyProcessor
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class GlobalDirectoryDependencyProcessor
extends Object
implements org.jboss.as.server.deployment.DeploymentUnitProcessor
A deployment processor that prepares the global directories that are going to be used as dependencies in a deployment.
It finds which services were installed under ee/global-directory resource using its capability name and installs a
GlobalDirectoryDeploymentService to consume the supplied GlobalDirectory values.
This deployment processor ensures that the GlobalDirectoryDeploymentService installed for this deployment is up before moving
to the next phase.
- Author:
- Yeray Borges
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GlobalDirectoryDependencyProcessor
public GlobalDirectoryDependencyProcessor()
-
-
Method Details
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
undeploy
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) - Specified by:
undeployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
-