Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
Modifier and Type | Method and Description |
---|---|
ServiceController<?> |
LifecycleContext.getController()
Get the associated service controller.
|
ServiceController<?> |
ServiceController.getParent()
Get this service's parent service, or
null if there is none. |
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. |
ServiceController<T> |
ServiceBuilder.install()
Install the defined service into the container.
|
ServiceController<T> |
DelegatingServiceBuilder.install()
Install the defined service into the container.
|
Modifier and Type | Method and Description |
---|---|
void |
StabilityMonitor.addController(ServiceController<?> controller)
Register controller with this monitor.
|
void |
ServiceListener.dependencyFailed(ServiceController<? extends S> controller)
Deprecated.
A dependency of the service has failed.
|
void |
AbstractServiceListener.dependencyFailed(ServiceController<? extends S> controller)
A dependency of the service has failed.
|
void |
ServiceListener.dependencyFailureCleared(ServiceController<? extends S> controller)
Deprecated.
A dependency of the service is retrying to start.
|
void |
AbstractServiceListener.dependencyFailureCleared(ServiceController<? extends S> controller)
A dependency of the service is retrying to start.
|
void |
ServiceListener.immediateDependencyAvailable(ServiceController<? extends S> controller)
Deprecated.
All
unavailable immediate dependencies of the service
are now available, i.e., they are installed and are not administratively disabled . |
void |
AbstractServiceListener.immediateDependencyAvailable(ServiceController<? extends S> controller)
All
unavailable immediate dependencies of the service
are now available, i.e., they are installed and are not administratively disabled . |
void |
ServiceListener.immediateDependencyUnavailable(ServiceController<? extends S> controller)
Deprecated.
An immediate dependency of the service is uninstalled or administratively
disabled . |
void |
AbstractServiceListener.immediateDependencyUnavailable(ServiceController<? extends S> controller)
An immediate dependency of the service is uninstalled or administratively
disabled . |
void |
MultipleRemoveListener.listenerAdded(ServiceController<?> controller)
The listener has been added to a controller.
|
void |
TimingServiceListener.listenerAdded(ServiceController<? extends Object> serviceController)
The listener has been added to a controller.
|
void |
ServiceListener.listenerAdded(ServiceController<? extends S> controller)
Deprecated.
The listener has been added to a controller.
|
void |
AbstractServiceListener.listenerAdded(ServiceController<? extends S> controller)
The listener has been added to a controller.
|
void |
StabilityMonitor.removeController(ServiceController<?> controller)
Unregister controller with this monitor.
|
void |
ServiceListener.serviceRemoveRequestCleared(ServiceController<? extends S> controller)
Deprecated.
The service removal is canceled.
|
void |
AbstractServiceListener.serviceRemoveRequestCleared(ServiceController<? extends S> controller)
The service removal is canceled.
|
void |
ServiceListener.serviceRemoveRequested(ServiceController<? extends S> controller)
Deprecated.
The service is going to be removed.
|
void |
AbstractServiceListener.serviceRemoveRequested(ServiceController<? extends S> controller)
The service is going to be removed.
|
void |
TimingServiceListener.transition(ServiceController<? extends Object> controller,
ServiceController.Transition transition) |
void |
MultipleRemoveListener.transition(ServiceController<? extends Object> controller,
ServiceController.Transition transition) |
void |
ServiceListener.transition(ServiceController<? extends S> controller,
ServiceController.Transition transition)
Deprecated.
The service has transitioned to a new sub-state.
|
void |
AbstractServiceListener.transition(ServiceController<? extends S> controller,
ServiceController.Transition transition)
The service has transitioned to a new sub-state.
|
void |
ServiceListener.transitiveDependencyAvailable(ServiceController<? extends S> controller)
Deprecated.
All
unavailable transitive dependencies of the
service are now available (installed and not administratively disabled ). |
void |
AbstractServiceListener.transitiveDependencyAvailable(ServiceController<? extends S> controller)
All
unavailable transitive dependencies of the
service are now available (installed and not administratively disabled ). |
void |
ServiceListener.transitiveDependencyUnavailable(ServiceController<? extends S> controller)
Deprecated.
A transitive dependency of the service is uninstalled or administratively
disabled . |
void |
AbstractServiceListener.transitiveDependencyUnavailable(ServiceController<? extends S> controller)
A transitive dependency of the service is uninstalled or administratively
disabled . |
static void |
ServiceUtils.undeployAll(Runnable completeTask,
ServiceController<?>... controllers)
Undeploy all the controllers and call the given runnable task when complete.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
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)
Causes the current thread to wait until the monitor 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 |
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 |
StabilityMonitor.awaitStability(long timeout,
TimeUnit unit,
Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
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)
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems)
Causes the current thread to wait until the monitor 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 |
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 |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Causes the current thread to wait until the monitor is stable.
|
void |
StabilityMonitor.awaitStability(Set<? super ServiceController<?>> failed,
Set<? super ServiceController<?>> problems,
StabilityStatistics statistics)
Causes the current thread to wait until the monitor is stable.
|
static void |
ServiceUtils.undeployAll(Runnable completeTask,
List<ServiceController<?>> controllers)
Undeploy all the controllers and call the given runnable task when complete.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.