KickJava   Java API By Example, From Geeks To Geeks.

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


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

18 public class JBossQueue
19    extends JBossDestination
20    implements Queue JavaDoc
21 {
22    // Constants -----------------------------------------------------
23

24    // Attributes ----------------------------------------------------
25

26    // Static --------------------------------------------------------
27

28    // Constructors --------------------------------------------------
29

30    /**
31     * Construct a new queue
32     *
33     * @param the name of the queue
34     */

35    public JBossQueue(String JavaDoc name)
36    {
37       super(name);
38    }
39
40    // Public --------------------------------------------------------
41

42    // Queue implementation ------------------------------------------
43

44    public String JavaDoc getQueueName()
45       throws JMSException JavaDoc
46    {
47       return super.getName();
48    }
49
50    // Protected ------------------------------------------------------
51

52    // Package Private ------------------------------------------------
53

54    // Private --------------------------------------------------------
55

56    // Inner Classes --------------------------------------------------
57

58 }
59
Popular Tags