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 |
removeDependency(ServiceName dependency)
Remove a dependency from this target.
|
BatchServiceTarget |
removeListener(ServiceListener<Object> listener)
Remove a listener 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, subTarget
void removeServices()
BatchServiceTarget 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 © 2012 JBoss by Red Hat. All Rights Reserved.