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
ConstructorsConstructorDescriptionIdentityServiceConfigurator(ServiceName name, ServiceName requirementName) Constructs a new service configurator.IdentityServiceConfigurator(ServiceName name, ServiceName requirementName, ServiceController.Mode initialMode) Constructs a new service configurator. -
Method Summary
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
IdentityServiceConfigurator
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 Details
-
build
Description copied from interface:ServiceConfiguratorAdds and configures aService.- Specified by:
buildin interfaceServiceConfigurator- Parameters:
target- a service target- Returns:
- the builder of the service.
-