Class ServerConnectorListener

All Implemented Interfaces:
EventListener, LifeCycle.Listener

public class ServerConnectorListener extends 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(LifeCycle event)
      Specified by:
      lifeCycleStarted in interface LifeCycle.Listener
      Overrides:
      lifeCycleStarted in class AbstractLifeCycle.AbstractLifeCycleListener
    • getFilePath

      public Path getFilePath()
      Get the filePath.
      Returns:
      the filePath
    • setFilePath

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

      public String getSysPropertyName()
      Get the sysPropertyName.
      Returns:
      the sysPropertyName
    • setSysPropertyName

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