Class ServiceValueExecutorRegistry<T>
- java.lang.Object
-
- org.jboss.as.clustering.controller.ServiceValueExecutorRegistry<T>
-
- All Implemented Interfaces:
FunctionExecutorRegistry<T>,ServiceValueRegistry<T>
public class ServiceValueExecutorRegistry<T> extends Object implements ServiceValueRegistry<T>, FunctionExecutorRegistry<T>
A registry of captured service value executors.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ServiceValueExecutorRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceValueCaptor<T>add(org.jboss.msc.service.ServiceName name)Adds a service to this registry.FunctionExecutor<T>get(org.jboss.msc.service.ServiceName name)Returns the function executor for the service installed using the specified name.ServiceValueCaptor<T>remove(org.jboss.msc.service.ServiceName name)Removes a service from this registry
-
-
-
Method Detail
-
add
public ServiceValueCaptor<T> add(org.jboss.msc.service.ServiceName name)
Description copied from interface:ServiceValueRegistryAdds a service to this registry.- Specified by:
addin interfaceServiceValueRegistry<T>- Parameters:
name- a service name- Returns:
- a mechanism for capturing the value of the service
-
remove
public ServiceValueCaptor<T> remove(org.jboss.msc.service.ServiceName name)
Description copied from interface:ServiceValueRegistryRemoves a service from this registry- Specified by:
removein interfaceServiceValueRegistry<T>- Parameters:
name- a service name
-
get
public FunctionExecutor<T> get(org.jboss.msc.service.ServiceName name)
Description copied from interface:FunctionExecutorRegistryReturns the function executor for the service installed using the specified name.- Specified by:
getin interfaceFunctionExecutorRegistry<T>- Parameters:
name- a service name- Returns:
- a function executor
-
-