Package | Description |
---|---|
org.jboss.msc.service |
The service container implementation itself.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractServiceListener<S>
An abstract implementation of a service listener whose methods do nothing.
|
class |
MultipleRemoveListener<T>
A service listener which calls a callback once all of the services it was attached to
have been removed.
|
class |
TimingServiceListener
A service listener which times service start.
|
Modifier and Type | Method and Description |
---|---|
Set<ServiceListener<Object>> |
ServiceTarget.getListeners()
Returns a set of the listeners added to this target.
|
Set<ServiceListener<Object>> |
DelegatingServiceTarget.getListeners()
Returns a set of the listeners added to this target.
|
Set<ServiceListener<Object>> |
DelegatingServiceContainer.getListeners()
Returns a set of the listeners added to this target.
|
Modifier and Type | Method and Description |
---|---|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<? super T>... listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<? super T>... listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<? super T> listener)
Add a service listener that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<? super T> listener)
Add a service listener that will be added to this service.
|
ServiceTarget |
ServiceTarget.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object>... listeners) |
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
ServiceTarget.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
void |
ServiceController.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object> serviceListener)
Add a service listener.
|
ServiceTarget |
DelegatingServiceTarget.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object> listener) |
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
void |
ServiceController.addListener(ServiceListener<? super S> serviceListener)
Add a service listener.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener<? super T>... listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener<? super T>... listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener<? super T> listener)
Add a service listener that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener<? super T> listener)
Add a service listener that will be added to this service.
|
ServiceTarget |
ServiceTarget.addListener(ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addListener(ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
BatchServiceTarget |
BatchServiceTarget.addListener(ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
ServiceTarget.addListener(ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addListener(ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
BatchServiceTarget |
BatchServiceTarget.addListener(ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
void |
ServiceController.removeListener(ServiceListener<? super S> serviceListener)
Remove a service listener.
|
ServiceTarget |
ServiceTarget.removeListener(ServiceListener<Object> listener)
Remove a listener from this target, if it exists.
|
ServiceTarget |
DelegatingServiceTarget.removeListener(ServiceListener<Object> listener)
Remove a listener from this target, if it exists.
|
ServiceContainer |
DelegatingServiceContainer.removeListener(ServiceListener<Object> listener)
Remove a listener from this target, if it exists.
|
BatchServiceTarget |
BatchServiceTarget.removeListener(ServiceListener<Object> listener)
Remove a listener from this target, if it exists.
|
Modifier and Type | Method and Description |
---|---|
ServiceBuilder<T> |
ServiceBuilder.addListener(Collection<? extends ServiceListener<? super T>> listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(Collection<? extends ServiceListener<? super T>> listeners)
Add service listeners that will be added to this service.
|
ServiceTarget |
ServiceTarget.addListener(Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addListener(Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceContainer |
DelegatingServiceContainer.addListener(Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
BatchServiceTarget |
BatchServiceTarget.addListener(Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceBuilder<T> |
ServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
Collection<? extends ServiceListener<? super T>> listeners)
Add service listeners that will be added to this service.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addListener(ServiceListener.Inheritance inheritance,
Collection<? extends ServiceListener<? super T>> listeners)
Add service listeners that will be added to this service.
|
ServiceTarget |
ServiceTarget.addListener(ServiceListener.Inheritance inheritance,
Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
ServiceTarget |
DelegatingServiceTarget.addListener(ServiceListener.Inheritance inheritance,
Collection<ServiceListener<Object>> listeners) |
ServiceContainer |
DelegatingServiceContainer.addListener(ServiceListener.Inheritance inheritance,
Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.