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'sContainerEventHandler.- Author:
- Paul Ferraro, Radoslav Husar
-
-
Constructor Summary
Constructors Constructor Description UndertowEventHandlerAdapterService(UndertowEventHandlerAdapterConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfilter(Host host)voidonDeploymentStart(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, wait
-
Methods inherited from interface org.wildfly.extension.undertow.UndertowEventListener
onHostStart, onHostStop, onServerStart, onServerStop, onShutdown
-
-
-
-
Constructor Detail
-
UndertowEventHandlerAdapterService
public UndertowEventHandlerAdapterService(UndertowEventHandlerAdapterConfiguration configuration)
-
-
Method Detail
-
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
public void onDeploymentStart(io.undertow.servlet.api.Deployment deployment, Host host)- Specified by:
onDeploymentStartin interfaceUndertowEventListener
-
onDeploymentStop
public void onDeploymentStop(io.undertow.servlet.api.Deployment deployment, Host host)- Specified by:
onDeploymentStopin interfaceUndertowEventListener
-
onDeploymentStart
public void onDeploymentStart(String contextPath, Host host)
- Specified by:
onDeploymentStartin interfaceUndertowEventListener
-
onDeploymentStop
public void onDeploymentStop(String contextPath, Host host)
- Specified by:
onDeploymentStopin interfaceUndertowEventListener
-
filter
public boolean filter(Host host)
-
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
-
-