public class UndertowServerEngineFactory extends Object implements BusLifeCycleListener
Constructor and Description |
---|
UndertowServerEngineFactory(Bus b) |
Modifier and Type | Method and Description |
---|---|
UndertowServerEngine |
createHttpServerEngine(String host,
int port,
String protocol) |
void |
destroyForPort(int port)
This method removes the Server Engine from the port map and stops it.
|
Bus |
getBus() |
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. |
UndertowServerEngine |
retrieveHttpServerEngine(int port)
Retrieve a previously configured HttpServerEngine for the
given port.
|
void |
setBus(Bus bus)
This call is used to set the bus.
|
public UndertowServerEngineFactory(Bus b)
public final void setBus(Bus bus)
bus
- public Bus getBus()
public UndertowServerEngine retrieveHttpServerEngine(int port)
public UndertowServerEngine createHttpServerEngine(String host, int port, String protocol) throws IOException
IOException
public void destroyForPort(int port)
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
Copyright © 2019 JBoss by Red Hat. All rights reserved.