Package org.wildfly.mod_cluster.undertow
Class UndertowEventHandlerAdapterService
java.lang.Object
org.wildfly.mod_cluster.undertow.UndertowEventHandlerAdapterService
- All Implemented Interfaces:
Runnable,org.jboss.as.server.suspend.ServerActivity,org.jboss.msc.Service,UndertowEventListener
public class UndertowEventHandlerAdapterService
extends Object
implements UndertowEventListener, org.jboss.msc.Service, Runnable, org.jboss.as.server.suspend.ServerActivity
Builds a service exposing an Undertow subsystem adapter to mod_cluster's
ContainerEventHandler.- Author:
- Paul Ferraro, Radoslav Husar
-
Field Summary
Fields inherited from interface org.jboss.as.server.suspend.ServerActivity
DEFAULT_EXECUTION_GROUP, HIGHEST_EXECUTION_GROUP, LOWEST_EXECUTION_GROUPFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonDeploymentStart(io.undertow.servlet.api.Deployment deployment, Host host) voidonDeploymentStart(String contextPath, Host host) voidonDeploymentStop(io.undertow.servlet.api.Deployment deployment, Host host) voidonDeploymentStop(String contextPath, Host host) voidpreSuspend(org.jboss.as.server.suspend.ServerActivityCallback listener) voidresume()voidrun()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context) voidsuspended(org.jboss.as.server.suspend.ServerActivityCallback listener) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.suspend.ServerActivity
getExecutionGroupMethods inherited from interface org.wildfly.extension.undertow.UndertowEventListener
onHostStart, onHostStop, onServerStart, onServerStop, onShutdown
-
Constructor Details
-
UndertowEventHandlerAdapterService
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) - Specified by:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
onDeploymentStart
- Specified by:
onDeploymentStartin interfaceUndertowEventListener
-
onDeploymentStop
- Specified by:
onDeploymentStopin interfaceUndertowEventListener
-
onDeploymentStart
- Specified by:
onDeploymentStartin interfaceUndertowEventListener
-
onDeploymentStop
- Specified by:
onDeploymentStopin interfaceUndertowEventListener
-
filter
-
run
public void run() -
preSuspend
public void preSuspend(org.jboss.as.server.suspend.ServerActivityCallback listener) - Specified by:
preSuspendin interfaceorg.jboss.as.server.suspend.ServerActivity
-
suspended
public void suspended(org.jboss.as.server.suspend.ServerActivityCallback listener) - Specified by:
suspendedin interfaceorg.jboss.as.server.suspend.ServerActivity
-
resume
public void resume()- Specified by:
resumein interfaceorg.jboss.as.server.suspend.ServerActivity
-