Class LocalSingletonService
java.lang.Object
org.wildfly.clustering.singleton.server.LocalSingletonService
- All Implemented Interfaces:
org.jboss.msc.Service,SingletonService,Singleton
- Direct Known Subclasses:
LocalLegacySingletonService
Local
SingletonService implementation created using JBoss MSC 1.4.x service installation.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionLocalSingletonService(org.jboss.msc.Service service, LocalSingletonServiceContext context) -
Method Summary
-
Constructor Details
-
LocalSingletonService
-
-
Method Details
-
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
-
isPrimary
public boolean isPrimary() -
getPrimaryProvider
- Specified by:
getPrimaryProviderin interfaceSingleton
-
getProviders
- Specified by:
getProvidersin interfaceSingleton
-