Package org.eclipse.jetty.util.component
Class FileNoticeLifeCycleListener
java.lang.Object
org.eclipse.jetty.util.component.FileNoticeLifeCycleListener
- All Implemented Interfaces:
EventListener
,LifeCycle.Listener
A LifeCycle Listener that writes state changes to a file.
This can be used with the jetty.sh script to wait for successful startup.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
lifeCycleFailure
(LifeCycle event, Throwable cause) void
lifeCycleStarted
(LifeCycle event) void
lifeCycleStarting
(LifeCycle event) void
lifeCycleStopped
(LifeCycle event) void
lifeCycleStopping
(LifeCycle event)
-
Constructor Details
-
FileNoticeLifeCycleListener
-
-
Method Details
-
lifeCycleStarting
- Specified by:
lifeCycleStarting
in interfaceLifeCycle.Listener
-
lifeCycleStarted
- Specified by:
lifeCycleStarted
in interfaceLifeCycle.Listener
-
lifeCycleFailure
- Specified by:
lifeCycleFailure
in interfaceLifeCycle.Listener
-
lifeCycleStopping
- Specified by:
lifeCycleStopping
in interfaceLifeCycle.Listener
-
lifeCycleStopped
- Specified by:
lifeCycleStopped
in interfaceLifeCycle.Listener
-