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 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:
      deploy in interface org.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