Package org.jboss.msc.service
Interface ServiceContainer.TerminateListener
-
- Enclosing interface:
- ServiceContainer
public static interface ServiceContainer.TerminateListenerA listener for notification of container shutdown.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceContainer.TerminateListener.InfoContainer shutdown information.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleTermination(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
-
-