Package org.eclipse.jetty.osgi.util
Class ServerConnectorListener
java.lang.Object
org.eclipse.jetty.osgi.util.ServerConnectorListener
- All Implemented Interfaces:
EventListener,org.eclipse.jetty.util.component.LifeCycle.Listener
public class ServerConnectorListener
extends Object
implements org.eclipse.jetty.util.component.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(org.eclipse.jetty.util.component.LifeCycle event) voidsetFilePath(Path filePath) Set the filePath to set.voidsetSysPropertyName(String sysPropertyName) Set the sysPropertyName to set.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle.Listener
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
-
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
-