Package org.eclipse.jetty.maven.plugin
Class ServerListener
- java.lang.Object
-
- org.eclipse.jetty.maven.plugin.ServerListener
-
- All Implemented Interfaces:
java.util.EventListener
,LifeCycle.Listener
public class ServerListener extends java.lang.Object implements LifeCycle.Listener
ServerListener Listener to create a file that signals that the startup is completed. Used by the JettyRunDistro maven goal to determine that the child process is started, and that jetty is ready.
-
-
Constructor Summary
Constructors Constructor Description ServerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTokenFile()
void
lifeCycleStarted(LifeCycle event)
void
setTokenFile(java.lang.String file)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle.Listener
lifeCycleFailure, lifeCycleStarting, lifeCycleStopped, lifeCycleStopping
-
-
-
-
Method Detail
-
setTokenFile
public void setTokenFile(java.lang.String file)
-
getTokenFile
public java.lang.String getTokenFile()
-
lifeCycleStarted
public void lifeCycleStarted(LifeCycle event)
- Specified by:
lifeCycleStarted
in interfaceLifeCycle.Listener
-
-