Package org.jboss.as.remoting
Class HttpListenerRegistryService
java.lang.Object
org.jboss.as.remoting.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 Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameDeprecated.Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.HttpListenerRegistryService(Consumer<io.undertow.server.ListenerRegistry> serviceConsumer) -
Method Summary
-
Field Details
-
SERVICE_NAME
Deprecated.
-
-
Constructor Details
-
HttpListenerRegistryService
Deprecated. -
HttpListenerRegistryService
-
-
Method Details
-
install
public static void install(org.jboss.msc.service.ServiceTarget serviceTarget) -
start
public void start(org.jboss.msc.service.StartContext context) - Specified by:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public io.undertow.server.ListenerRegistry getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<io.undertow.server.ListenerRegistry>- Throws:
IllegalStateExceptionIllegalArgumentException
-