| Package | Description |
|---|---|
| org.jboss.msc.service |
The service container implementation itself.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingServiceController<S>
A service controller which delegates to another service controller.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceController<?> |
LifecycleContext.getController()
Get the associated service controller.
|
protected ServiceController<S> |
DelegatingServiceController.getDelegate()
Get the ServiceController delegate.
|
ServiceController<?> |
ServiceController.getParent()
Get this service's parent service, or
null if there is none. |
ServiceController<?> |
DelegatingServiceController.getParent()
Get this service's parent service, or
null if there is none. |
ServiceController<?> |
DelegatingServiceContainer.getRequiredService(ServiceName serviceName)
Get a service, throwing an exception if it is not found.
|
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.getService(ServiceName serviceName)
Get a service, returning
null 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<T> |
ServiceBuilder.install()
Installs configured service into the container.
|
ServiceController<T> |
DelegatingServiceBuilder.install()
Installs configured service into the container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StabilityMonitor.addController(ServiceController<?> controller)
Deprecated.
Register controller with this monitor.
|
void |
LifecycleListener.handleEvent(ServiceController<?> controller,
LifecycleEvent event)
The service has entered new state
|
void |
StabilityMonitor.removeController(ServiceController<?> controller)
Deprecated.
Unregister controller with this monitor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DelegatingServiceContainer.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
boolean |
DelegatingServiceContainer.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
boolean |
ServiceContainer.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
boolean |
ServiceContainer.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
boolean |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
boolean |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
boolean |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
boolean |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
void |
DelegatingServiceContainer.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
void |
DelegatingServiceContainer.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
void |
ServiceContainer.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
void |
ServiceContainer.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problem)
Causes the current thread to wait until the container is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Deprecated.
Causes the current thread to wait until the monitor is stable.
|
| Constructor and Description |
|---|
DelegatingServiceController(ServiceController<S> delegate)
Construct a new instance.
|
Copyright © 2021 Red Hat, Inc.