Class 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 Detail

      • GlobalModuleDependencyProcessor

        public GlobalModuleDependencyProcessor()
    • Method Detail

      • 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