public class UndertowEventHandlerAdapter extends Object implements UndertowEventListener, org.jboss.msc.service.Service<Void>, Runnable, org.jboss.as.server.suspend.ServerActivity
Constructor and Description |
---|
UndertowEventHandlerAdapter(org.jboss.msc.value.Value<org.jboss.modcluster.container.ContainerEventHandler> eventHandler,
org.jboss.msc.value.Value<UndertowService> service,
org.jboss.msc.value.Value<ListenerService> listener,
org.jboss.msc.value.Value<org.jboss.as.server.suspend.SuspendController> suspendController,
int statusInterval) |
Modifier and Type | Method and Description |
---|---|
Void |
getValue() |
void |
onDeploymentStart(io.undertow.servlet.api.Deployment deployment,
Host host) |
void |
onDeploymentStop(io.undertow.servlet.api.Deployment deployment,
Host host) |
void |
onHostStart(Host host) |
void |
onHostStop(Host host) |
void |
onServerStart(Server server) |
void |
onServerStop(Server server) |
void |
onShutdown() |
void |
preSuspend(org.jboss.as.server.suspend.ServerActivityCallback listener) |
void |
resume() |
void |
run() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
suspended(org.jboss.as.server.suspend.ServerActivityCallback listener) |
public UndertowEventHandlerAdapter(org.jboss.msc.value.Value<org.jboss.modcluster.container.ContainerEventHandler> eventHandler, org.jboss.msc.value.Value<UndertowService> service, org.jboss.msc.value.Value<ListenerService> listener, org.jboss.msc.value.Value<org.jboss.as.server.suspend.SuspendController> suspendController, int statusInterval)
public void start(org.jboss.msc.service.StartContext context)
start
in interface org.jboss.msc.service.Service<Void>
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<Void>
public void onDeploymentStart(io.undertow.servlet.api.Deployment deployment, Host host)
onDeploymentStart
in interface UndertowEventListener
public void onDeploymentStop(io.undertow.servlet.api.Deployment deployment, Host host)
onDeploymentStop
in interface UndertowEventListener
public void onShutdown()
onShutdown
in interface UndertowEventListener
public void onHostStart(Host host)
onHostStart
in interface UndertowEventListener
public void onHostStop(Host host)
onHostStop
in interface UndertowEventListener
public void onServerStart(Server server)
onServerStart
in interface UndertowEventListener
public void onServerStop(Server server)
onServerStop
in interface UndertowEventListener
public void preSuspend(org.jboss.as.server.suspend.ServerActivityCallback listener)
preSuspend
in interface org.jboss.as.server.suspend.ServerActivity
public void suspended(org.jboss.as.server.suspend.ServerActivityCallback listener)
suspended
in interface org.jboss.as.server.suspend.ServerActivity
public void resume()
resume
in interface org.jboss.as.server.suspend.ServerActivity
Copyright © 2017 JBoss by Red Hat. All rights reserved.