public abstract class AbstractListenerService<T> extends Object implements org.jboss.msc.service.Service<T>
Modifier and Type | Field and Description |
---|---|
protected org.jboss.msc.value.InjectedValue<SocketBinding> |
binding |
protected org.jboss.msc.value.InjectedValue<org.xnio.Pool> |
bufferPool |
protected List<io.undertow.server.HandlerWrapper> |
listenerHandlerWrappers |
protected io.undertow.server.OpenListener |
openListener |
protected static org.xnio.OptionMap |
SERVER_OPTIONS |
protected org.jboss.msc.value.InjectedValue<Server> |
serverService |
protected org.jboss.msc.value.InjectedValue<org.xnio.XnioWorker> |
worker |
Modifier | Constructor and Description |
---|---|
protected |
AbstractListenerService(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract io.undertow.server.OpenListener |
createOpenListener() |
org.jboss.msc.value.InjectedValue<SocketBinding> |
getBinding() |
org.jboss.msc.value.InjectedValue<org.xnio.Pool> |
getBufferPool() |
protected int |
getBufferSize() |
String |
getName() |
protected abstract String |
getProtocol() |
org.jboss.msc.value.InjectedValue<Server> |
getServerService() |
org.jboss.msc.value.InjectedValue<org.xnio.XnioWorker> |
getWorker() |
abstract boolean |
isSecure() |
protected abstract void |
preStart(org.jboss.msc.service.StartContext context) |
protected void |
registerBinding() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
protected void |
unregisterBinding() |
protected static final org.xnio.OptionMap SERVER_OPTIONS
protected final org.jboss.msc.value.InjectedValue<org.xnio.XnioWorker> worker
protected final org.jboss.msc.value.InjectedValue<SocketBinding> binding
protected final org.jboss.msc.value.InjectedValue<org.xnio.Pool> bufferPool
protected final org.jboss.msc.value.InjectedValue<Server> serverService
protected final List<io.undertow.server.HandlerWrapper> listenerHandlerWrappers
protected volatile io.undertow.server.OpenListener openListener
protected AbstractListenerService(String name)
public org.jboss.msc.value.InjectedValue<org.xnio.XnioWorker> getWorker()
public org.jboss.msc.value.InjectedValue<SocketBinding> getBinding()
public org.jboss.msc.value.InjectedValue<org.xnio.Pool> getBufferPool()
public org.jboss.msc.value.InjectedValue<Server> getServerService()
protected int getBufferSize()
public String getName()
public abstract boolean isSecure()
protected void registerBinding()
protected void unregisterBinding()
protected abstract void preStart(org.jboss.msc.service.StartContext context)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<T>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<T>
protected abstract io.undertow.server.OpenListener createOpenListener()
protected abstract String getProtocol()
Copyright © 2013 JBoss by Red Hat. All rights reserved.