Package org.jboss.as.server
Class Services
java.lang.Object
org.jboss.as.server.Services
A holder class for constants containing the names of the core services.
- Author:
- David M. Lloyd, Richard Opalka
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameThe service name of the root application server service.static final org.jboss.msc.service.ServiceNameDeprecated, for removal: This API element is subject to removal in a future version.use capability @code{org.wildfly.management.external-module}static final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNameThe service corresponding to theModelControllerfor this instance.static final org.jboss.msc.service.ServiceNameDeprecated, for removal: This API element is subject to removal in a future version.use capability @code{org.wildfly.management.executor}static final org.jboss.msc.service.ServiceNameThe service corresponding to theServiceModuleLoaderfor this instance.static final org.jboss.msc.service.ServiceNameDeprecated, for removal: This API element is subject to removal in a future version.use capability @code{org.wildfly.server.suspend-controller} -
Method Summary
Modifier and TypeMethodDescriptionstatic <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.UserequireServerExecutor(ServiceBuilder)instead.static Supplier<ExecutorService>requireServerExecutor(org.jboss.msc.service.ServiceBuilder<?> builder) Creates dependency on management executor and returns supplier providing it.
-
Field Details
-
JBOSS_AS
public static final org.jboss.msc.service.ServiceName JBOSS_ASThe service name of the root application server service. -
JBOSS_SERVER_CONTROLLER
public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_CONTROLLERThe service corresponding to theModelControllerfor this instance. -
JBOSS_SERVER_EXECUTOR
@Deprecated(forRemoval=true) public static final org.jboss.msc.service.ServiceName JBOSS_SERVER_EXECUTORDeprecated, for removal: This API element is subject to removal in a future version.use capability @code{org.wildfly.management.executor}The service corresponding to theExecutorServicefor this instance. -
JBOSS_SERVICE_MODULE_LOADER
public static final org.jboss.msc.service.ServiceName JBOSS_SERVICE_MODULE_LOADERThe service corresponding to theServiceModuleLoaderfor this instance. -
JBOSS_EXTERNAL_MODULE_SERVICE
@Deprecated(forRemoval=true) public static final org.jboss.msc.service.ServiceName JBOSS_EXTERNAL_MODULE_SERVICEDeprecated, 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 theExternalModuleServicefor 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_CONTROLLERDeprecated, 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.UserequireServerExecutor(ServiceBuilder)instead. This method will be removed in the future.Creates dependency on management executor.- Type Parameters:
T- the parameter type- Parameters:
builder- the builderinjector- 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
-