Package org.jboss.msc.service
Class ServiceContainerImpl.LatchListener
- java.lang.Object
-
- java.util.concurrent.CountDownLatch
-
- org.jboss.msc.service.ServiceContainerImpl.LatchListener
-
- All Implemented Interfaces:
ServiceContainer.TerminateListener
- Enclosing class:
- ServiceContainerImpl
static final class ServiceContainerImpl.LatchListener extends java.util.concurrent.CountDownLatch implements ServiceContainer.TerminateListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.msc.service.ServiceContainer.TerminateListener
ServiceContainer.TerminateListener.Info
-
-
Constructor Summary
Constructors Constructor Description LatchListener(int count)
-
Method Summary
All Methods Instance Methods Concrete 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
public void handleTermination(ServiceContainer.TerminateListener.Info info)
Description copied from interface:ServiceContainer.TerminateListener
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.- Specified by:
handleTermination
in interfaceServiceContainer.TerminateListener
- Parameters:
info
- information regarding the container shutdown process
-
-