Package org.eclipse.jetty.maven.plugin
Class ServerListener
java.lang.Object
org.eclipse.jetty.maven.plugin.ServerListener
- All Implemented Interfaces:
EventListener,LifeCycle.Listener
ServerListener
Listener to create a file that signals that the startup is completed.
Used by the JettyRunHome maven goal to determine that the child
process is started, and that jetty is ready.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlifeCycleStarted(LifeCycle event) voidsetTokenFile(String file) 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
-
ServerListener
public ServerListener()
-
-
Method Details
-
setTokenFile
-
getTokenFile
-
lifeCycleStarted
- Specified by:
lifeCycleStartedin interfaceLifeCycle.Listener
-