Interface SingletonServiceTarget
- All Superinterfaces:
ServiceTarget
A service target for singleton service installation.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionGet a builder which can be used to add a service to this target.addService(ServiceName name) Deprecated.<T> SingletonServiceBuilder<T>addService(ServiceName name, Service<T> service) Deprecated.Create a sub-target using this as the parent target.Methods inherited from interface org.jboss.msc.service.ServiceTarget
addDependency, addListener, addMonitor, removeListener, removeMonitor
-
Method Details
-
addService
SingletonServiceBuilder<?> addService()Description copied from interface:ServiceTargetGet a builder which can be used to add a service to this target.- Specified by:
addServicein interfaceServiceTarget- Returns:
- new service configurator
-
addService
Deprecated.Description copied from interface:ServiceTargetGet a builder which can be used to add a service to this target.- Specified by:
addServicein interfaceServiceTarget- Parameters:
name- the service name- Returns:
- new service configurator
-
addService
Deprecated.Description copied from interface:ServiceTargetGet a builder which can be used to add a service to this target.- Specified by:
addServicein interfaceServiceTarget- Parameters:
name- the service nameservice- the service- Returns:
- the builder for the service
-
subTarget
SingletonServiceTarget subTarget()Description copied from interface:ServiceTargetCreate a sub-target using this as the parent target.- Specified by:
subTargetin interfaceServiceTarget- Returns:
- the new service target
-