KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > client > Lifecycle


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.jms.client;
8
9 import javax.jms.JMSException JavaDoc;
10
11 /**
12  * The lifecycle
13  *
14  * @author <a HREF="mailto:adrian@jboss.org>Adrian Brock</a>
15  * @version $Revision: 1.1 $
16  */

17 public interface Lifecycle
18 {
19    // Constants -----------------------------------------------------
20

21    // Public --------------------------------------------------------
22

23    /**
24     * Notify about to close
25     *
26     * @throws JMSException for any error
27     */

28    void closing() throws JMSException JavaDoc;
29
30    /**
31     * Close the delegate
32     *
33     * @throws JMSException for any error
34     */

35    void close() throws JMSException JavaDoc;
36
37    // Inner Classes --------------------------------------------------
38
}
39
Popular Tags