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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
lifeCycleStarted
(LifeCycle event) void
setTokenFile
(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
-
Constructor Details
-
ServerListener
public ServerListener()
-
-
Method Details
-
setTokenFile
-
getTokenFile
-
lifeCycleStarted
- Specified by:
lifeCycleStarted
in interfaceLifeCycle.Listener
-