public class Server extends Object implements org.jboss.msc.service.Service<Server>
| Modifier | Constructor and Description |
|---|---|
protected |
Server(String name,
String defaultHost) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultHost() |
Set<Host> |
getHosts() |
List<UndertowListener> |
getListeners() |
String |
getName() |
protected io.undertow.server.HttpHandler |
getRoot() |
String |
getRoute() |
ServletContainerService |
getServletContainer() |
protected org.jboss.msc.inject.Injector<UndertowService> |
getUndertowServiceInjector() |
Server |
getValue() |
int |
lookupSecurePort(int unsecurePort) |
protected void |
registerHost(Host host) |
protected void |
registerListener(ListenerService listener) |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
protected void |
unregisterHost(Host host) |
protected void |
unregisterListener(ListenerService listener) |
public void start(org.jboss.msc.service.StartContext startContext)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<Server>org.jboss.msc.service.StartExceptionprotected void registerListener(ListenerService listener)
protected void unregisterListener(ListenerService listener)
protected void registerHost(Host host)
protected void unregisterHost(Host host)
public int lookupSecurePort(int unsecurePort)
public void stop(org.jboss.msc.service.StopContext stopContext)
stop in interface org.jboss.msc.service.Service<Server>public Server getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Server>IllegalStateExceptionIllegalArgumentExceptionpublic ServletContainerService getServletContainer()
protected io.undertow.server.HttpHandler getRoot()
protected org.jboss.msc.inject.Injector<UndertowService> getUndertowServiceInjector()
public String getName()
public String getDefaultHost()
public List<UndertowListener> getListeners()
public String getRoute()
Copyright © 2018 JBoss by Red Hat. All rights reserved.