Class LocalSingletonService

java.lang.Object
org.wildfly.clustering.singleton.server.LocalSingletonService
All Implemented Interfaces:
org.jboss.msc.Service, SingletonService, Singleton
Direct Known Subclasses:
LocalLegacySingletonService

public class LocalSingletonService extends Object implements SingletonService
Local SingletonService implementation created using JBoss MSC 1.4.x service installation.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • isPrimary

      public boolean isPrimary()
      Specified by:
      isPrimary in interface Singleton
    • getPrimaryProvider

      public Node getPrimaryProvider()
      Specified by:
      getPrimaryProvider in interface Singleton
    • getProviders

      public Set<Node> getProviders()
      Specified by:
      getProviders in interface Singleton