Class ModuleResolvePhaseService

java.lang.Object
org.jboss.as.server.moduleservice.ModuleResolvePhaseService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<ModuleResolvePhaseService>, org.jboss.msc.value.Value<ModuleResolvePhaseService>

public class ModuleResolvePhaseService extends Object implements org.jboss.msc.service.Service<ModuleResolvePhaseService>
Module phase resolve service. Basically this service attempts to resolve every dynamic transitive dependency of a module, and allows the module resolved service to start once this is complete.
Author:
Stuart Douglas, Richard Opalka
  • Field Details

    • SERVICE_NAME

      public static final org.jboss.msc.service.ServiceName SERVICE_NAME
  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • installService

      public static void installService(org.jboss.msc.service.ServiceTarget serviceTarget, ModuleDefinition moduleDefinition)
    • stop

      public void stop(org.jboss.msc.service.StopContext stopContext)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      Specified by:
      getValue in interface org.jboss.msc.value.Value<ModuleResolvePhaseService>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getModuleSpecs

      public Set<ModuleDefinition> getModuleSpecs()
    • moduleSpecServiceName

      @Deprecated(forRemoval=true) public static org.jboss.msc.service.ServiceName moduleSpecServiceName(org.jboss.modules.ModuleIdentifier identifier, int phase)
      Deprecated, for removal: This API element is subject to removal in a future version.
      this method will be made private