01: package org.objectweb.celtix.buslifecycle;
02:
03: /**
04: * The listener interface for receiving notification of <code>Bus</code>
05: * lifecycle events.
06: *
07: * A class that implements this interface will have its methods called
08: * when the associated lifecycle events occur. An implementing class
09: * 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: }
|