JBoss Modular Service Kernel API 1.0.0.CR2

org.jboss.msc.service
Interface ServiceContainer.TerminateListener

Enclosing interface:
ServiceContainer

public static interface ServiceContainer.TerminateListener

A listener for notification of container shutdown.

See Also:
ServiceContainer.addTerminateListener(TerminateListener), ServiceContainer.shutdown()

Nested Class Summary
static class ServiceContainer.TerminateListener.Info
          Container shutdown information.
 
Method Summary
 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

JBoss Modular Service Kernel API 1.0.0.CR2

Copyright © 2011 JBoss, a division of Red Hat, Inc.