Class Server

java.lang.Object
org.wildfly.extension.undertow.Server
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<Server>, org.jboss.msc.value.Value<Server>

public class Server extends Object implements org.jboss.msc.service.Service<Server>
Author:
Tomaz Cerar (c) 2013 Red Hat Inc., Richard Opalka
  • Field Details

    • SERVICE_DESCRIPTOR

      public static final org.wildfly.service.descriptor.UnaryServiceDescriptor<Server> SERVICE_DESCRIPTOR
  • Constructor Details

  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
      Specified by:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext stopContext)
      Specified by:
      stop in interface org.jboss.msc.Service
    • getValue

      public Server getValue()
      Specified by:
      getValue in interface org.jboss.msc.value.Value<Server>
    • registerListener

      protected void registerListener(ListenerService listener)
    • unregisterListener

      protected void unregisterListener(ListenerService listener)
    • registerHost

      protected void registerHost(Host host)
    • unregisterHost

      protected void unregisterHost(Host host)
    • lookupSecurePort

      public int lookupSecurePort(int unsecurePort)
    • getServletContainer

      public ServletContainerService getServletContainer()
    • getRoot

      protected io.undertow.server.HttpHandler getRoot()
    • getName

      public String getName()
    • getDefaultHost

      public String getDefaultHost()
    • getHosts

      public Set<Host> getHosts()
    • getListeners

      public List<UndertowListener> getListeners()
    • getRoute

      public String getRoute()