public abstract class AbstractConnectorHolder<S extends Servlet,R extends MessageReceiver> extends Object implements ConnectorHolder<S,R>
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jetty.server.Connector |
connector |
protected Log |
logger
logger used by this class
|
protected S |
servlet |
protected boolean |
started |
Constructor and Description |
---|
AbstractConnectorHolder(org.eclipse.jetty.server.Connector connector,
S servlet,
R receiver) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.server.Connector |
getConnector() |
S |
getServlet() |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addReceiver, isReferenced, removeReceiver
protected final transient Log logger
protected org.eclipse.jetty.server.Connector connector
protected boolean started
public S getServlet()
getServlet
in interface ConnectorHolder<S extends Servlet,R extends MessageReceiver>
public org.eclipse.jetty.server.Connector getConnector()
getConnector
in interface ConnectorHolder<S extends Servlet,R extends MessageReceiver>
public void start() throws MuleException
start
in interface ConnectorHolder<S extends Servlet,R extends MessageReceiver>
MuleException
public void stop() throws MuleException
stop
in interface ConnectorHolder<S extends Servlet,R extends MessageReceiver>
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.