KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > destination > JBossTemporaryDestination


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.destination;
8
9 import javax.jms.JMSException JavaDoc;
10
11 /**
12  * A temporary destination
13  *
14  * @author <a HREF="mailto:adrian@jboss.org>Adrian Brock</a>
15  * @version $Revision: 1.1 $
16  */

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

21    /** Temporary queue */
22    public static final int TEMPORARY_QUEUE = 1;
23
24    /** Temporary topic */
25    public static final int TEMPORARY_TOPIC = 2;
26
27    // Public --------------------------------------------------------
28

29    /**
30     * Delete the temporary destination
31     *
32     * @throws JMSExeption for any error
33     */

34    void delete() throws JMSException JavaDoc;
35
36    // Inner Classes --------------------------------------------------
37

38 }
39
Popular Tags