Class HttpListenerRegistryService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<io.undertow.server.ListenerRegistry>, org.jboss.msc.value.Value<io.undertow.server.ListenerRegistry>

    public class HttpListenerRegistryService
    extends Object
    implements org.jboss.msc.service.Service<io.undertow.server.ListenerRegistry>
    Service that maintains a registry of all Undertow listeners, and the services that are registered on them. TODO: not sure if this really belongs here conceptually, but in practice it is only used to match upgrade handlers with listeners
    Author:
    Stuart Douglas, Richard Opalka
    • Field Detail

      • SERVICE_NAME

        @Deprecated
        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
        Deprecated.
    • Constructor Detail

      • HttpListenerRegistryService

        @Deprecated
        public HttpListenerRegistryService()
        Deprecated.
      • HttpListenerRegistryService

        public HttpListenerRegistryService​(Consumer<io.undertow.server.ListenerRegistry> serviceConsumer)
    • Method Detail

      • install

        public static void install​(org.jboss.msc.service.ServiceTarget serviceTarget)
      • start

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

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