Class ServiceValueCaptorServiceConfigurator<T>
- java.lang.Object
-
- org.jboss.as.clustering.controller.ServiceValueCaptorServiceConfigurator<T>
-
- All Implemented Interfaces:
org.jboss.msc.Service,ServiceConfigurator,ServiceNameProvider
public class ServiceValueCaptorServiceConfigurator<T> extends Object implements ServiceConfigurator, org.jboss.msc.Service
Configures a service that captures the value of a target service.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ServiceValueCaptorServiceConfigurator(ServiceValueCaptor<T> captor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)org.jboss.msc.service.ServiceNamegetServiceName()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
ServiceValueCaptorServiceConfigurator
public ServiceValueCaptorServiceConfigurator(ServiceValueCaptor<T> captor)
-
-
Method Detail
-
getServiceName
public org.jboss.msc.service.ServiceName getServiceName()
- Specified by:
getServiceNamein interfaceServiceNameProvider
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceServiceConfigurator
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
-