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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) voidsetGlobalModules(List<GlobalModulesDefinition.GlobalModule> globalModules) Set the global modules configuration for the container.Methods 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
-
GlobalModuleDependencyProcessor
public GlobalModuleDependencyProcessor()
-
-
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
-
setGlobalModules
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
-