Class DiscoveryService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<org.wildfly.discovery.Discovery>, org.jboss.msc.value.Value<org.wildfly.discovery.Discovery>

    public final class DiscoveryService
    extends Object
    implements org.jboss.msc.service.Service<org.wildfly.discovery.Discovery>
    A service that provides discovery services.

    Note: this service is going to move elsewhere in the future.

    Author:
    David M. Lloyd
    • Field Detail

      • BASE_NAME

        public static final org.jboss.msc.service.ServiceName BASE_NAME
    • Constructor Detail

      • DiscoveryService

        public DiscoveryService()
    • 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
        Specified by:
        start in interface org.jboss.msc.service.Service<org.wildfly.discovery.Discovery>
        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
        Specified by:
        stop in interface org.jboss.msc.service.Service<org.wildfly.discovery.Discovery>
      • getDiscoveryProviderInjector

        public org.jboss.msc.inject.Injector<org.wildfly.discovery.spi.DiscoveryProvider> getDiscoveryProviderInjector()