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.
|
addListener, addListener, addListener, addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, subTargetvoid removeServices()
BatchServiceTarget addMonitor(StabilityMonitor monitor)
addMonitor in interface ServiceTargetmonitor - the monitor to add to the targetBatchServiceTarget addMonitors(StabilityMonitor... monitors)
addMonitors in interface ServiceTargetmonitors - the monitors to add to the targetBatchServiceTarget removeMonitor(StabilityMonitor monitor)
removeMonitor in interface ServiceTargetmonitor - the monitor to removeBatchServiceTarget addListener(ServiceListener<Object> listener)
addListener in interface ServiceTargetlistener - the listener to add to the targetBatchServiceTarget addListener(ServiceListener<Object>... listeners)
addListener in interface ServiceTargetlisteners - a list of listeners to add to the targetBatchServiceTarget addListener(Collection<ServiceListener<Object>> listeners)
addListener in interface ServiceTargetlisteners - a collection of listeners to add to the targetBatchServiceTarget removeListener(ServiceListener<Object> listener)
removeListener in interface ServiceTargetlistener - the listener to removeBatchServiceTarget addDependency(ServiceName dependency)
addDependency in interface ServiceTargetdependency - the dependency to add to the targetBatchServiceTarget addDependency(ServiceName... dependencies)
addDependency in interface ServiceTargetdependencies - a list of dependencies to add to the targetBatchServiceTarget addDependency(Collection<ServiceName> dependencies)
addDependency in interface ServiceTargetdependencies - a collection of dependencies to add to this targetBatchServiceTarget removeDependency(ServiceName dependency)
removeDependency in interface ServiceTargetdependency - the dependencyCopyright © 2018 JBoss by Red Hat. All rights reserved.