static final class ServiceContainerImpl.LatchListener extends java.util.concurrent.CountDownLatch implements ServiceContainer.TerminateListener
ServiceContainer.TerminateListener.Info| Constructor and Description |
|---|
LatchListener(int count) |
| Modifier and Type | Method and 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. |
public void handleTermination(ServiceContainer.TerminateListener.Info info)
ServiceContainer.TerminateListenerhandleTermination in interface ServiceContainer.TerminateListenerinfo - information regarding the container shutdown process