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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event) voidsetFilePath(Path filePath) voidsetSysPropertyName(String sysPropertyName) Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
lifeCycleFailure, lifeCycleStarting, lifeCycleStopped, lifeCycleStopping
-
Constructor Details
-
ServerConnectorListener
public ServerConnectorListener()
-
-
Method Details
-
lifeCycleStarted
public void lifeCycleStarted(org.eclipse.jetty.util.component.LifeCycle event) - Specified by:
lifeCycleStartedin interfaceorg.eclipse.jetty.util.component.LifeCycle.Listener- Overrides:
lifeCycleStartedin classorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
getFilePath
- Returns:
- the filePath
-
setFilePath
- Parameters:
filePath- the filePath to set
-
getSysPropertyName
- Returns:
- the sysPropertyName
-
setSysPropertyName
- Parameters:
sysPropertyName- the sysPropertyName to set
-