Package org.jboss.msc.service
Interface ServiceContainer.TerminateListener
-
- Enclosing interface:
- ServiceContainer
public static interface ServiceContainer.TerminateListener
A listener for notification of container shutdown.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServiceContainer.TerminateListener.Info
Container shutdown information.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleTermination(ServiceContainer.TerminateListener.Info info)
Notifies this listener that the container is shutdown.
At the moment this listener is requested to handle termination, all services in the container are stopped and removed.
-
-
-
Method Detail
-
handleTermination
void handleTermination(ServiceContainer.TerminateListener.Info info)
Notifies this listener that the container is shutdown.
At the moment this listener is requested to handle termination, all services in the container are stopped and removed.- Parameters:
info
- information regarding the container shutdown process
-
-