public class NettyHttpServerEngineFactory extends Object implements BusLifeCycleListener
Constructor and Description |
---|
NettyHttpServerEngineFactory() |
NettyHttpServerEngineFactory(Bus b) |
NettyHttpServerEngineFactory(Bus b,
Map<String,TLSServerParameters> tls,
Map<String,ThreadingParameters> threads) |
Modifier and Type | Method and Description |
---|---|
NettyHttpServerEngine |
createNettyHttpServerEngine(int port,
String protocol) |
NettyHttpServerEngine |
createNettyHttpServerEngine(String host,
int port,
String protocol) |
static void |
destroyForPort(int port)
This method removes the Server Engine from the port map and stops it.
|
Bus |
getBus() |
Map<String,ThreadingParameters> |
getThreadingParametersMap() |
Map<String,TLSServerParameters> |
getTlsServerParametersMap() |
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
NettyHttpServerEngine |
retrieveNettyHttpServerEngine(int port) |
void |
setBus(Bus bus)
This call is used to set the bus.
|
void |
setEnginesList(List<NettyHttpServerEngine> enginesList) |
void |
setThreadingParametersMap(Map<String,ThreadingParameters> parameterMap) |
void |
setTlsServerParameters(Map<String,TLSServerParameters> tlsParametersMap) |
public NettyHttpServerEngineFactory()
public NettyHttpServerEngineFactory(Bus b)
public NettyHttpServerEngineFactory(Bus b, Map<String,TLSServerParameters> tls, Map<String,ThreadingParameters> threads)
public Bus getBus()
public final void setBus(Bus bus)
bus
- public Map<String,TLSServerParameters> getTlsServerParametersMap()
public void setTlsServerParameters(Map<String,TLSServerParameters> tlsParametersMap)
public Map<String,ThreadingParameters> getThreadingParametersMap()
public void setThreadingParametersMap(Map<String,ThreadingParameters> parameterMap)
public void setEnginesList(List<NettyHttpServerEngine> enginesList)
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public NettyHttpServerEngine retrieveNettyHttpServerEngine(int port)
public NettyHttpServerEngine createNettyHttpServerEngine(String host, int port, String protocol) throws IOException
IOException
public NettyHttpServerEngine createNettyHttpServerEngine(int port, String protocol) throws IOException
IOException
public static void destroyForPort(int port)
Apache CXF