Class 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
    • Method Detail

      • 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)
      • getRoot

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

        public String getName()
      • getDefaultHost

        public String getDefaultHost()
      • getHosts

        public Set<Host> getHosts()
      • getRoute

        public String getRoute()