Package org.jboss.msc.service
Interface LifecycleListener
- All Known Implementing Classes:
CascadeRemovalLifecycleListener,CountDownLifecycleListener
public interface LifecycleListener
A listener for service lifecycle events. The associated controller
will not leave its current state until all listeners finish running.
- Author:
- Richard Opalka
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEvent(ServiceController<?> controller, LifecycleEvent event) The service has entered new state
-
Method Details
-
handleEvent
The service has entered new state- Parameters:
controller- the controllerevent- the lifecycle event
-