org.apache.karaf.main
Interface ShutdownCallback

All Known Implementing Classes:
Main

public interface ShutdownCallback

This interface is a callback interface for the stoping process. It's main purpose is to give the ServiceWrapper a way of waiting for the Framework to gracefully stop the Server.


Method Summary
 void waitingForShutdown(int delay)
          The callback method invoked to inform anyone listening that the Main class is still waiting for the completion of the shutdown.
 

Method Detail

waitingForShutdown

void waitingForShutdown(int delay)
The callback method invoked to inform anyone listening that the Main class is still waiting for the completion of the shutdown.



Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.