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
  • Constructor Details

  • Method Details

    • start

      public void start(org.jboss.msc.service.StartContext context)
      Specified by:
      start in interface org.jboss.msc.Service
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.jboss.msc.Service
    • onDeploymentStart

      public void onDeploymentStart(io.undertow.servlet.api.Deployment deployment, Host host)
      Specified by:
      onDeploymentStart in interface UndertowEventListener
    • onDeploymentStop

      public void onDeploymentStop(io.undertow.servlet.api.Deployment deployment, Host host)
      Specified by:
      onDeploymentStop in interface UndertowEventListener
    • onDeploymentStart

      public void onDeploymentStart(String contextPath, Host host)
      Specified by:
      onDeploymentStart in interface UndertowEventListener
    • onDeploymentStop

      public void onDeploymentStop(String contextPath, Host host)
      Specified by:
      onDeploymentStop in interface UndertowEventListener
    • filter

      public boolean filter(Host host)
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • preSuspend

      public void preSuspend(org.jboss.as.server.suspend.ServerActivityCallback listener)
      Specified by:
      preSuspend in interface org.jboss.as.server.suspend.ServerActivity
    • suspended

      public void suspended(org.jboss.as.server.suspend.ServerActivityCallback listener)
      Specified by:
      suspended in interface org.jboss.as.server.suspend.ServerActivity
    • resume

      public void resume()
      Specified by:
      resume in interface org.jboss.as.server.suspend.ServerActivity