Class LocalSingletonServiceBuilder<T>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.clustering.singleton.server.LocalSingletonServiceBuilder<T>
-
- All Implemented Interfaces:
Builder<T>,ServiceConfigurator,ServiceNameProvider,LocalSingletonServiceContext,SingletonServiceContext,SingletonServiceBuilder<T>
@Deprecated public class LocalSingletonServiceBuilder<T> extends SimpleServiceNameProvider implements SingletonServiceBuilder<T>, LocalSingletonServiceContext
Deprecated.LocalSingletonServiceConfiguratorimplementation that uses JBoss MSC 1.3.x service installation.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description LocalSingletonServiceBuilder(org.jboss.msc.service.ServiceName name, org.jboss.msc.service.Service<T> service, LocalSingletonServiceConfiguratorContext context)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<T>build(org.jboss.msc.service.ServiceTarget target)Deprecated.SingletonServiceBuilder<T>electionListener(SingletonElectionListener listener)Deprecated.SingletonServiceBuilder<T>electionPolicy(SingletonElectionPolicy policy)Deprecated.SingletonElectionListenergetElectionListener()Deprecated.Supplier<Group>getGroup()Deprecated.SingletonServiceBuilder<T>requireQuorum(int quorum)Deprecated.-
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
-
LocalSingletonServiceBuilder
public LocalSingletonServiceBuilder(org.jboss.msc.service.ServiceName name, org.jboss.msc.service.Service<T> service, LocalSingletonServiceConfiguratorContext context)Deprecated.
-
-
Method Detail
-
requireQuorum
public SingletonServiceBuilder<T> requireQuorum(int quorum)
Deprecated.- Specified by:
requireQuorumin interfaceSingletonServiceBuilder<T>
-
electionPolicy
public SingletonServiceBuilder<T> electionPolicy(SingletonElectionPolicy policy)
Deprecated.- Specified by:
electionPolicyin interfaceSingletonServiceBuilder<T>
-
electionListener
public SingletonServiceBuilder<T> electionListener(SingletonElectionListener listener)
Deprecated.- Specified by:
electionListenerin interfaceSingletonServiceBuilder<T>
-
build
public org.jboss.msc.service.ServiceBuilder<T> build(org.jboss.msc.service.ServiceTarget target)
Deprecated.- Specified by:
buildin interfaceBuilder<T>- Specified by:
buildin interfaceServiceConfigurator
-
getGroup
public Supplier<Group> getGroup()
Deprecated.- Specified by:
getGroupin interfaceLocalSingletonServiceContext
-
getElectionListener
public SingletonElectionListener getElectionListener()
Deprecated.- Specified by:
getElectionListenerin interfaceSingletonServiceContext
-
-