org.apache.cxf.transport.http.netty.server
Class NettyHttpServerEngineFactory
java.lang.Object
org.apache.cxf.transport.http.netty.server.NettyHttpServerEngineFactory
- All Implemented Interfaces:
- org.apache.cxf.buslifecycle.BusLifeCycleListener
- Direct Known Subclasses:
- NettyHttpServerEngineFactoryBeanDefinitionParser.SpringNettyHttpServerEngineFactory
public class NettyHttpServerEngineFactory
- extends Object
- implements org.apache.cxf.buslifecycle.BusLifeCycleListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyHttpServerEngineFactory
public NettyHttpServerEngineFactory()
NettyHttpServerEngineFactory
public NettyHttpServerEngineFactory(org.apache.cxf.Bus b)
NettyHttpServerEngineFactory
public NettyHttpServerEngineFactory(org.apache.cxf.Bus b,
Map<String,org.apache.cxf.configuration.jsse.TLSServerParameters> tls,
Map<String,ThreadingParameters> threads)
getBus
public org.apache.cxf.Bus getBus()
setBus
public final void setBus(org.apache.cxf.Bus bus)
- This call is used to set the bus. It should only be called once.
- Parameters:
bus -
getTlsServerParametersMap
public Map<String,org.apache.cxf.configuration.jsse.TLSServerParameters> getTlsServerParametersMap()
setTlsServerParameters
public void setTlsServerParameters(Map<String,org.apache.cxf.configuration.jsse.TLSServerParameters> tlsParametersMap)
getThreadingParametersMap
public Map<String,ThreadingParameters> getThreadingParametersMap()
setThreadingParametersMap
public void setThreadingParametersMap(Map<String,ThreadingParameters> parameterMap)
setEnginesList
public void setEnginesList(List<NettyHttpServerEngine> enginesList)
initComplete
public void initComplete()
- Specified by:
initComplete in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
postShutdown
public void postShutdown()
- Specified by:
postShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
preShutdown
public void preShutdown()
- Specified by:
preShutdown in interface org.apache.cxf.buslifecycle.BusLifeCycleListener
retrieveNettyHttpServerEngine
public NettyHttpServerEngine retrieveNettyHttpServerEngine(int port)
createNettyHttpServerEngine
public NettyHttpServerEngine createNettyHttpServerEngine(String host,
int port,
String protocol)
throws IOException
- Throws:
IOException
createNettyHttpServerEngine
public NettyHttpServerEngine createNettyHttpServerEngine(int port,
String protocol)
throws IOException
- Throws:
IOException
destroyForPort
public static void destroyForPort(int port)
- This method removes the Server Engine from the port map and stops it.
Apache CXF