Package org.wildfly.clustering.service
Class IdentityServiceConfigurator<T>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.clustering.service.IdentityServiceConfigurator<T>
-
- All Implemented Interfaces:
ServiceConfigurator,ServiceNameProvider
public class IdentityServiceConfigurator<T> extends SimpleServiceNameProvider implements ServiceConfigurator
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description IdentityServiceConfigurator(ServiceName name, ServiceName requirementName)Constructs a new service configurator.IdentityServiceConfigurator(ServiceName name, ServiceName requirementName, ServiceController.Mode initialMode)Constructs a new service configurator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceBuilder<?>build(ServiceTarget target)Adds and configures aService.-
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
IdentityServiceConfigurator
public IdentityServiceConfigurator(ServiceName name, ServiceName requirementName)
Constructs a new service configurator.- Parameters:
name- the target service nametargetName- the target service
-
IdentityServiceConfigurator
public IdentityServiceConfigurator(ServiceName name, ServiceName requirementName, ServiceController.Mode initialMode)
Constructs a new service configurator.- Parameters:
name- the target service nametargetName- the target serviceinitialMode- the initial mode of the configured service.
-
-
Method Detail
-
build
public ServiceBuilder<?> build(ServiceTarget target)
Description copied from interface:ServiceConfiguratorAdds and configures aService.- Specified by:
buildin interfaceServiceConfigurator- Parameters:
target- a service target- Returns:
- the builder of the service.
-
-