Package org.eclipse.jetty.osgi.util
Class ServerConnectorListener
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
org.eclipse.jetty.osgi.util.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 TypeMethodDescriptionGet the filePath.Get the sysPropertyName.void
lifeCycleStarted
(LifeCycle event) void
setFilePath
(Path filePath) Set the filePath to set.void
setSysPropertyName
(String sysPropertyName) Set the sysPropertyName to set.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
Get the filePath.- Returns:
- the filePath
-
setFilePath
Set the filePath to set.- Parameters:
filePath
- the filePath to set
-
getSysPropertyName
Get the sysPropertyName.- Returns:
- the sysPropertyName
-
setSysPropertyName
Set the sysPropertyName to set.- Parameters:
sysPropertyName
- the sysPropertyName to set
-