Package org.jboss.as.ee.structure
Class GlobalModuleDependencyProcessor
- java.lang.Object
-
- org.jboss.as.ee.structure.GlobalModuleDependencyProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class GlobalModuleDependencyProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
Dependency processor that adds modules defined in the global-modules section of the configuration to all deployments.- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description GlobalModuleDependencyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
void
setGlobalModules(List<GlobalModulesDefinition.GlobalModule> globalModules)
Set the global modules configuration for the container.
-
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
- Specified by:
deploy
in interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor
- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
setGlobalModules
public void setGlobalModules(List<GlobalModulesDefinition.GlobalModule> globalModules)
Set the global modules configuration for the container.- Parameters:
globalModules
- a fully resolved (i.e. with expressions resolved and default values set) global modules configuration
-
-