Class ServerConnectorListener
java.lang.Object
org.eclipse.jetty.osgi.util.ServerConnectorListener
- All Implemented Interfaces:
EventListener, LifeCycle.Listener
This class 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 TypeMethodDescriptionGet the filePath.Get the sysPropertyName.voidlifeCycleStarted(LifeCycle event) voidsetFilePath(Path filePath) Set the filePath to set.voidsetSysPropertyName(String sysPropertyName) Set the sysPropertyName to set.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LifeCycle.Listener
lifeCycleFailure, lifeCycleStarting, lifeCycleStopped, lifeCycleStopping
-
Constructor Details
-
ServerConnectorListener
public ServerConnectorListener()
-
-
Method Details
-
lifeCycleStarted
- Specified by:
lifeCycleStartedin interfaceLifeCycle.Listener
-
getFilePath
-
setFilePath
Set the filePath to set.- Parameters:
filePath- the filePath to set
-
getSysPropertyName
-
setSysPropertyName
Set the sysPropertyName to set.- Parameters:
sysPropertyName- the sysPropertyName to set
-