JBoss Modular Service Container 1.0.2.GA-redhat-1

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 Container 1.0.2.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.