Class ServerConnectorListener

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.osgi.boot.utils.ServerConnectorListener
All Implemented Interfaces:
EventListener, org.eclipse.jetty.util.component.LifeCycle.Listener

public class ServerConnectorListener extends org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
ServerConnectorListener This is for test support, where we need jetty to run on a random port, and we need a client to be able to find out which port was picked.
  • Constructor Details

    • ServerConnectorListener

      public ServerConnectorListener()
  • Method Details

    • lifeCycleStarted

      public void lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event)
      Specified by:
      lifeCycleStarted in interface org.eclipse.jetty.util.component.LifeCycle.Listener
      Overrides:
      lifeCycleStarted in class org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
    • getFilePath

      public Path getFilePath()
      Returns:
      the filePath
    • setFilePath

      public void setFilePath(Path filePath)
      Parameters:
      filePath - the filePath to set
    • getSysPropertyName

      public String getSysPropertyName()
      Returns:
      the sysPropertyName
    • setSysPropertyName

      public void setSysPropertyName(String sysPropertyName)
      Parameters:
      sysPropertyName - the sysPropertyName to set