Class LocalSingletonService

    • Method Detail

      • 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 org.wildfly.clustering.singleton.Singleton
      • getPrimaryProvider

        public org.wildfly.clustering.group.Node getPrimaryProvider()
        Specified by:
        getPrimaryProvider in interface org.wildfly.clustering.singleton.Singleton
      • getProviders

        public Set<org.wildfly.clustering.group.Node> getProviders()
        Specified by:
        getProviders in interface org.wildfly.clustering.singleton.Singleton