KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > buslifecycle > BusLifeCycleListener


1 package org.objectweb.celtix.buslifecycle;
2
3 /**
4  * The listener interface for receiving notification of <code>Bus</code>
5  * lifecycle events.
6  *
7  * A class that implements this interface will have its methods called
8  * when the associated lifecycle events occur. An implementing class
9  * must register itself with the Bus through the
10  * <code>BusLifeCycleManager</code> interface.
11  */

12 public interface BusLifeCycleListener {
13
14     /**
15      * Invoked when the <code>Bus</code> has been initialized.
16      *
17      */

18     void initComplete();
19     
20     /**
21      * Invoked before the <code>Bus</code> is shutdown.
22      *
23      */

24     void preShutdown();
25
26     /**
27      * Invoked after the <code>Bus</code> is shutdown.
28      *
29      */

30     void postShutdown();
31 }
32
Popular Tags