Class 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 (C) 2011 Red Hat Inc., alessio.soldano@jboss.com
    • Constructor Detail

      • UndertowServerEngineFactory

        public UndertowServerEngineFactory​(Bus b)
    • Method Detail

      • 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.
      • destroyForPort

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