Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
org.wildfly.clustering.singleton.service |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingServiceBuilder<T>
A service builder which delegates to another service builder.
|
Modifier and Type | Method and Description |
---|---|
ServiceBuilder<T> |
ServiceBuilder.addAliases(ServiceName... aliases)
Adds aliases for this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addAliases(ServiceName... aliases)
Adds aliases for this service.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(Iterable<ServiceName> dependencies)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(Iterable<ServiceName> dependencies)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
Iterable<ServiceName> dependencies)
Deprecated.
Optional dependencies are unsafe and should not be used.
This method will be removed in a future release.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
Iterable<ServiceName> dependencies)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
ServiceName... dependencies)
Deprecated.
Optional dependencies are unsafe and should not be used.
This method will be removed in a future release.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceBuilder.DependencyType dependencyType,
ServiceName... dependencies)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependencies(ServiceName... dependencies)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependencies(ServiceName... dependencies)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency)
Deprecated.
Optional dependencies are unsafe and should not be used.
This method will be removed in a future release.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency)
Deprecated.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Deprecated.
Optional dependencies are unsafe and should not be used.
This method will be removed in a future release.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Deprecated.
Optional dependencies are unsafe and should not be used.
This method will be removed in a future release.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency)
Deprecated.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Deprecated.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addInjection(Injector<? super I> target,
I value)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addInjection(Injector<? super I> target,
I value)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addInjection(Injector<? super T> target)
Deprecated.
Use
provides(ServiceName...) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addInjection(Injector<? super T> target)
Deprecated.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addInjectionValue(Injector<? super I> target,
Value<I> value)
Deprecated.
Use
requires(ServiceName) instead.
This method will be removed in a future release. |
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addInjectionValue(Injector<? super I> target,
Value<I> value)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(Collection<? extends ServiceListener<? super T>> listeners)
Deprecated.
Use
addListener(LifecycleListener) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(Collection<? extends ServiceListener<? super T>> listeners)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(LifecycleListener listener)
Adds a service listener to be added to the service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(LifecycleListener listener)
Adds a service listener to be added to the service.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener<? super T>... listeners)
Deprecated.
Use
addListener(LifecycleListener) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener<? super T>... listeners)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener<? super T> listener)
Deprecated.
Use
addListener(LifecycleListener) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener<? super T> listener)
Deprecated.
|
ServiceBuilder<T> |
ServiceBuilder.addMonitor(StabilityMonitor monitor)
Adds a stability monitor to be added to the service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addMonitor(StabilityMonitor monitor)
Adds a stability monitor to be added to the service.
|
ServiceBuilder<T> |
ServiceBuilder.addMonitors(StabilityMonitor... monitors)
Deprecated.
Use
addMonitor(StabilityMonitor) instead.
This method will be removed in a future release. |
ServiceBuilder<T> |
DelegatingServiceBuilder.addMonitors(StabilityMonitor... monitors)
Deprecated.
|
ServiceBuilder<?> |
ServiceTarget.addService(ServiceName name)
Get a builder which can be used to add a service to this target.
|
ServiceBuilder<?> |
DelegatingServiceTarget.addService(ServiceName name)
Get a builder which can be used to add a service to this target.
|
ServiceBuilder<?> |
DelegatingServiceContainer.addService(ServiceName name)
Get a builder which can be used to add a service to this target.
|
<T> ServiceBuilder<T> |
ServiceTarget.addService(ServiceName name,
Service<T> service)
Deprecated.
Use
ServiceTarget.addService(ServiceName) instead.
This method will be removed in a future release. |
<T> ServiceBuilder<T> |
DelegatingServiceTarget.addService(ServiceName name,
Service<T> service)
Deprecated.
|
<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)
Deprecated.
Use
ServiceTarget.addService(ServiceName) instead.
This method will be removed in a future release. |
<T> ServiceBuilder<T> |
DelegatingServiceTarget.addServiceValue(ServiceName name,
Value<? extends Service<T>> value)
Deprecated.
|
<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.
|
protected ServiceBuilder<T> |
DelegatingServiceBuilder.getDelegate()
Get the ServiceBuilder delegate.
|
ServiceBuilder<T> |
ServiceBuilder.setInitialMode(ServiceController.Mode mode)
Sets initial service mode.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.setInitialMode(ServiceController.Mode mode)
Sets initial service mode.
|
ServiceBuilder<T> |
ServiceBuilder.setInstance(Service service)
Sets service instance.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.setInstance(Service service)
Sets service instance.
|
Constructor and Description |
---|
DelegatingServiceBuilder(ServiceBuilder<T> delegate)
Construct a new instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SingletonServiceBuilder<T>
Extends
ServiceBuilder to facilitate building singleton services. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.