public interface BatchServiceTarget extends ServiceTarget
ServiceTarget
that provides removal
of all services installed so far.Modifier and Type | Method and Description |
---|---|
BatchServiceTarget |
addDependency(Collection<ServiceName> dependencies)
Add a collection of dependencies that will be added to the all ServiceBuilders installed in this target
|
BatchServiceTarget |
addDependency(ServiceName... dependencies)
Add a list of dependencies that will be added to the all ServiceBuilders installed in this target.
|
BatchServiceTarget |
addDependency(ServiceName dependency)
Add a dependency that will be added to the all ServiceBuilders installed in this target.
|
BatchServiceTarget |
addListener(Collection<ServiceListener<Object>> listeners)
Add a collection of service listener that will be added to all ServiceBuilders installed in this target.
|
BatchServiceTarget |
addListener(ServiceListener<Object>... listeners)
Add a list of service listener that will be added to all ServiceBuilders installed in this target.
|
BatchServiceTarget |
addListener(ServiceListener<Object> listener)
Add a service listener that will be added to all the ServiceBuilders installed in this target.
|
BatchServiceTarget |
addMonitor(StabilityMonitor monitor)
Add a stability monitor that will be added to all the ServiceBuilders installed in this target.
|
BatchServiceTarget |
addMonitors(StabilityMonitor... monitors)
Add a stability monitors that will be added to all the ServiceBuilders installed in this target.
|
BatchServiceTarget |
removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
BatchServiceTarget |
removeListener(ServiceListener<Object> listener)
Remove a listener from this target, if it exists.
|
BatchServiceTarget |
removeMonitor(StabilityMonitor monitor)
Remove a monitor from this target, if it exists.
|
void |
removeServices()
Removes all services installed into this target so far.
|
addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, subTarget
void removeServices()
BatchServiceTarget addMonitor(StabilityMonitor monitor)
addMonitor
in interface ServiceTarget
monitor
- the monitor to add to the targetBatchServiceTarget addMonitors(StabilityMonitor... monitors)
addMonitors
in interface ServiceTarget
monitors
- the monitors to add to the targetBatchServiceTarget removeMonitor(StabilityMonitor monitor)
removeMonitor
in interface ServiceTarget
monitor
- the monitor to removeBatchServiceTarget addListener(ServiceListener<Object> listener)
addListener
in interface ServiceTarget
listener
- the listener to add to the targetBatchServiceTarget addListener(ServiceListener<Object>... listeners)
addListener
in interface ServiceTarget
listeners
- a list of listeners to add to the targetBatchServiceTarget addListener(Collection<ServiceListener<Object>> listeners)
addListener
in interface ServiceTarget
listeners
- a collection of listeners to add to the targetBatchServiceTarget removeListener(ServiceListener<Object> listener)
removeListener
in interface ServiceTarget
listener
- the listener to removeBatchServiceTarget addDependency(ServiceName dependency)
addDependency
in interface ServiceTarget
dependency
- the dependency to add to the targetBatchServiceTarget addDependency(ServiceName... dependencies)
addDependency
in interface ServiceTarget
dependencies
- a list of dependencies to add to the targetBatchServiceTarget addDependency(Collection<ServiceName> dependencies)
addDependency
in interface ServiceTarget
dependencies
- a collection of dependencies to add to this targetBatchServiceTarget removeDependency(ServiceName dependency)
removeDependency
in interface ServiceTarget
dependency
- the dependencyCopyright © 2017 JBoss by Red Hat. All rights reserved.