Class ServerConnectorListener
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.osgi.boot.utils.ServerConnectorListener
- All Implemented Interfaces:
EventListener
,LifeCycle.Listener
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
lifeCycleStarted
(LifeCycle event) void
setFilePath
(Path filePath) void
setSysPropertyName
(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
- Specified by:
lifeCycleStarted
in interfaceLifeCycle.Listener
- Overrides:
lifeCycleStarted
in classAbstractLifeCycle.AbstractLifeCycleListener
-
getFilePath
- Returns:
- the filePath
-
setFilePath
- Parameters:
filePath
- the filePath to set
-
getSysPropertyName
- Returns:
- the sysPropertyName
-
setSysPropertyName
- Parameters:
sysPropertyName
- the sysPropertyName to set
-