public interface CapabilityServiceTarget
extends org.jboss.msc.service.ServiceTarget
addCapability
methods.
Notice that installation will only take place after ServiceBuilder.install()
is invoked.
CapabilityServiceBuilder that are not installed are ignored.Modifier and Type | Method and Description |
---|---|
CapabilityServiceBuilder<?> |
addCapability(RuntimeCapability<?> capability)
Gets a builder which can be used to add a capability service into this capability target.
|
<T> CapabilityServiceBuilder<T> |
addCapability(RuntimeCapability<?> capability,
org.jboss.msc.service.Service<T> service)
Deprecated.
use
addCapability(RuntimeCapability) method instead |
addDependency, addDependency, addDependency, addListener, addListener, addListener, addListener, addMonitor, addMonitors, addService, addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, removeDependency, removeListener, removeListener, removeMonitor, subTarget
@Deprecated <T> CapabilityServiceBuilder<T> addCapability(RuntimeCapability<?> capability, org.jboss.msc.service.Service<T> service) throws IllegalArgumentException
addCapability(RuntimeCapability)
method insteadcapability
- the capability to be installedservice
- the service implementing this capabilityIllegalArgumentException
- if capability does not provide a serviceCapabilityServiceBuilder<?> addCapability(RuntimeCapability<?> capability) throws IllegalArgumentException
capability
- the capability to be installedIllegalArgumentException
- if capability does not provide a serviceCopyright © 2021 JBoss by Red Hat. All rights reserved.