Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
org.wildfly.clustering.singleton | |
org.wildfly.extension.elytron._private |
Resources private to the Subsystem
|
Modifier and Type | Field and Description |
---|---|
static ServiceName |
ServiceName.JBOSS
The root name "jboss".
|
Modifier and Type | Method and Description |
---|---|
ServiceName |
ServiceName.append(ServiceName serviceName)
Create a service name by appending name parts of the provided ServiceName using this as a parent.
|
ServiceName |
ServiceName.append(String... parts)
Create a service name by appending name parts using this as a parent to the new ServiceName.
|
ServiceName |
ServiceName.commonAncestorOf(ServiceName other)
Return the service name that is the nearest common ancestor of the this name and the given one.
|
ServiceName[] |
ServiceController.getAliases()
Get other names this service is known as.
|
ServiceName[] |
CircularDependencyException.getCycle()
Returns a cycle found during service installation.
|
ServiceName |
ServiceController.getName()
Get the name of this service, if any.
|
ServiceName |
ServiceName.getParent()
Get the parent (enclosing) service name.
|
ServiceName |
StartException.getServiceName() |
static ServiceName |
ServiceName.of(ServiceName parent,
String... parts)
Create a ServiceName from a series of String parts and a parent service name.
|
static ServiceName |
ServiceName.of(String... parts)
Create a ServiceName from a series of String parts.
|
static ServiceName |
ServiceName.parse(String original)
Parse a string-form service name.
|
Modifier and Type | Method and Description |
---|---|
Set<ServiceName> |
ServiceTarget.getDependencies()
Returns a set of all dependencies added to this target.
|
Set<ServiceName> |
DelegatingServiceTarget.getDependencies()
Returns a set of all dependencies added to this target.
|
Set<ServiceName> |
DelegatingServiceContainer.getDependencies()
Returns a set of all dependencies added to this target.
|
Set<ServiceName> |
ServiceController.getImmediateUnavailableDependencies()
Get the complete list of immediate dependencies that are unavailable.
|
List<ServiceName> |
ServiceRegistry.getServiceNames()
Get a list of service names installed in this registry.
|
List<ServiceName> |
DelegatingServiceRegistry.getServiceNames()
Get a list of service names installed in this registry.
|
List<ServiceName> |
DelegatingServiceContainer.getServiceNames()
Get a list of service names installed in this registry.
|
Modifier and Type | Method and Description |
---|---|
ServiceBuilder<T> |
ServiceBuilder.addAliases(ServiceName... aliases)
Add aliases for this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addAliases(ServiceName... aliases)
Add aliases for this service.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
ServiceName... dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
ServiceName... dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceName... dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceName... dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency)
Add a dependency.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency)
Add a dependency.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
ServiceTarget |
ServiceTarget.addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
BatchServiceTarget |
BatchServiceTarget.addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
ServiceTarget |
ServiceTarget.addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency)
Add a dependency.
|
ServiceTarget |
DelegatingServiceTarget.addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency)
Add a dependency.
|
BatchServiceTarget |
BatchServiceTarget.addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
<T> ServiceBuilder<T> |
ServiceTarget.addService(ServiceName name,
Service<T> service)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
DelegatingServiceTarget.addService(ServiceName name,
Service<T> service)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
DelegatingServiceContainer.addService(ServiceName name,
Service<T> service)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
ServiceTarget.addServiceValue(ServiceName name,
Value<? extends Service<T>> value)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
DelegatingServiceTarget.addServiceValue(ServiceName name,
Value<? extends Service<T>> value)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
DelegatingServiceContainer.addServiceValue(ServiceName name,
Value<? extends Service<T>> value)
Get a builder which can be used to add a service to this target.
|
ServiceName |
ServiceName.append(ServiceName serviceName)
Create a service name by appending name parts of the provided ServiceName using this as a parent.
|
ServiceName |
ServiceName.commonAncestorOf(ServiceName other)
Return the service name that is the nearest common ancestor of the this name and the given one.
|
int |
ServiceName.compareTo(ServiceName o)
Compare two service names lexicographically.
|
boolean |
ServiceName.equals(ServiceName o)
Compare this service name to another service name.
|
ServiceController<?> |
ServiceRegistry.getRequiredService(ServiceName serviceName)
Get a service, throwing an exception if it is not found.
|
ServiceController<?> |
DelegatingServiceRegistry.getRequiredService(ServiceName serviceName)
Get a service, throwing an exception if it is not found.
|
ServiceController<?> |
DelegatingServiceContainer.getRequiredService(ServiceName serviceName)
Get a service, throwing an exception if it is not found.
|
ServiceController<?> |
ServiceRegistry.getService(ServiceName serviceName)
Get a service, returning
null if it is not found. |
ServiceController<?> |
DelegatingServiceRegistry.getService(ServiceName serviceName)
Get a service, returning
null if it is not found. |
ServiceController<?> |
DelegatingServiceContainer.getService(ServiceName serviceName)
Get a service, returning
null if it is not found. |
boolean |
ServiceName.isParentOf(ServiceName other)
Determine whether this service name is the same as, or a parent of, the given service name.
|
V |
ServiceNameMapper.match(ServiceName serviceName)
Attempt to match a service name.
|
static ServiceName |
ServiceName.of(ServiceName parent,
String... parts)
Create a ServiceName from a series of String parts and a parent service name.
|
ServiceTarget |
ServiceTarget.removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
ServiceTarget |
DelegatingServiceTarget.removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
ServiceContainer |
DelegatingServiceContainer.removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
BatchServiceTarget |
BatchServiceTarget.removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
void |
StartException.setServiceName(ServiceName serviceName) |
Modifier and Type | Method and Description |
---|---|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(Iterable<ServiceName> dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(Iterable<ServiceName> dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
Iterable<ServiceName> dependencies)
Add multiple, non-injected dependencies.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
Iterable<ServiceName> dependencies)
Add multiple, non-injected dependencies.
|
ServiceTarget |
ServiceTarget.addDependency(Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
ServiceTarget |
DelegatingServiceTarget.addDependency(Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
ServiceContainer |
DelegatingServiceContainer.addDependency(Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
BatchServiceTarget |
BatchServiceTarget.addDependency(Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
Constructor and Description |
---|
CircularDependencyException(String msg,
ServiceName[] cycle)
Constructs a
CircularDependencyException with the specified detail message. |
StartException(String message,
Throwable cause,
ServiceName serviceName) |
Modifier and Type | Method and Description |
---|---|
<T> SingletonServiceBuilder<T> |
SingletonServiceBuilderFactory.createSingletonServiceBuilder(ServiceName name,
Service<T> service) |
<T> org.wildfly.clustering.service.Builder<T> |
SingletonPolicy.createSingletonServiceBuilder(ServiceName name,
Service<T> service)
Creates a singleton service builder.
|
<T> SingletonServiceBuilder<T> |
SingletonServiceBuilderFactory.createSingletonServiceBuilder(ServiceName name,
Service<T> primaryService,
Service<T> backupService) |
<T> org.wildfly.clustering.service.Builder<T> |
SingletonPolicy.createSingletonServiceBuilder(ServiceName name,
Service<T> primaryService,
Service<T> backupService)
Creates a singleton service builder.
|
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ElytronSubsystemMessages_$logger.couldNotReadIdentity(String principalName,
ServiceName domainServiceName,
Exception cause) |
RuntimeException |
ElytronSubsystemMessages.couldNotReadIdentity(String principalName,
ServiceName domainServiceName,
Exception cause) |
org.jboss.as.controller.OperationFailedException |
ElytronSubsystemMessages_$logger.requiredServiceNotUp(ServiceName serviceName,
ServiceController.State state) |
org.jboss.as.controller.OperationFailedException |
ElytronSubsystemMessages.requiredServiceNotUp(ServiceName serviceName,
ServiceController.State state)
An
OperationFailedException where an operation can not proceed as it's required service is not UP. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.