Class UndertowServerEngineFactory

java.lang.Object
org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineFactory
All Implemented Interfaces:
BusLifeCycleListener

public class UndertowServerEngineFactory extends Object implements BusLifeCycleListener
A server engine factory for the undertow engine
Since:
19-Aug-2010
Author:
Magesh Kumar B <mageshbk@jboss.com> (C) 2011 Red Hat Inc., alessio.soldano@jboss.com
  • Constructor Details

    • UndertowServerEngineFactory

      public UndertowServerEngineFactory(Bus b)
  • Method Details

    • setBus

      public final void setBus(Bus bus)
      This call is used to set the bus. It should only be called once.
      Parameters:
      bus -
    • getBus

      public Bus getBus()
    • retrieveHttpServerEngine

      public UndertowServerEngine retrieveHttpServerEngine(int port)
      Retrieve a previously configured HttpServerEngine for the given port. If none exists, this call returns null.
    • createHttpServerEngine

      public UndertowServerEngine createHttpServerEngine(String host, int port, String protocol) throws IOException
      Throws:
      IOException
    • destroyForPort

      public void destroyForPort(int port)
      This method removes the Server Engine from the port map and stops it.
    • initComplete

      public void initComplete()
      Description copied from interface: BusLifeCycleListener
      Invoked when the Bus has been initialized.
      Specified by:
      initComplete in interface BusLifeCycleListener
    • postShutdown

      public void postShutdown()
      Description copied from interface: BusLifeCycleListener
      Invoked after the Bus is shutdown.
      Specified by:
      postShutdown in interface BusLifeCycleListener
    • preShutdown

      public void preShutdown()
      Description copied from interface: BusLifeCycleListener
      Invoked before the Bus is shutdown.
      Specified by:
      preShutdown in interface BusLifeCycleListener