Class Services

java.lang.Object
org.jboss.as.server.Services

public final class Services extends Object
A holder class for constants containing the names of the core services.
Author:
David M. Lloyd, Richard Opalka
  • Field Details

    • JBOSS_AS

      public static final org.jboss.msc.service.ServiceName JBOSS_AS
      The service name of the root application server service.
    • JBOSS_SERVER_CONTROLLER

      public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_CONTROLLER
      The service corresponding to the ModelController for this instance.
    • JBOSS_SERVER_EXECUTOR

      @Deprecated(forRemoval=true) public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_EXECUTOR
      Deprecated, for removal: This API element is subject to removal in a future version.
      use capability @code{org.wildfly.management.executor}
      The service corresponding to the ExecutorService for this instance.
    • JBOSS_SERVICE_MODULE_LOADER

      public static final org.jboss.msc.service.ServiceName JBOSS_SERVICE_MODULE_LOADER
      The service corresponding to the ServiceModuleLoader for this instance.
    • JBOSS_EXTERNAL_MODULE_SERVICE

      @Deprecated(forRemoval=true) public static final org.jboss.msc.service.ServiceName JBOSS_EXTERNAL_MODULE_SERVICE
      Deprecated, for removal: This API element is subject to removal in a future version.
      use capability @code{org.wildfly.management.external-module}
      The service corresponding to the ExternalModuleService for this instance.
    • JBOSS_PRODUCT_CONFIG_SERVICE

      public static final org.jboss.msc.service.ServiceName JBOSS_PRODUCT_CONFIG_SERVICE
    • JBOSS_SUSPEND_CONTROLLER

      @Deprecated(forRemoval=true) public static final org.jboss.msc.service.ServiceName JBOSS_SUSPEND_CONTROLLER
      Deprecated, for removal: This API element is subject to removal in a future version.
      use capability @code{org.wildfly.server.suspend-controller}
  • Method Details

    • addServerExecutorDependency

      @Deprecated(forRemoval=true) public static <T> org.jboss.msc.service.ServiceBuilder<T> addServerExecutorDependency(org.jboss.msc.service.ServiceBuilder<T> builder, org.jboss.msc.inject.Injector<ExecutorService> injector)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use requireServerExecutor(ServiceBuilder) instead. This method will be removed in the future.
      Creates dependency on management executor.
      Type Parameters:
      T - the parameter type
      Parameters:
      builder - the builder
      injector - the injector
      Returns:
      service builder instance
    • requireServerExecutor

      public static Supplier<ExecutorService> requireServerExecutor(org.jboss.msc.service.ServiceBuilder<?> builder)
      Creates dependency on management executor and returns supplier providing it.
      Parameters:
      builder - the builder to use for requirement
      Returns:
      supplier providing server executor