KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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

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

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

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

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

42    // Topic implementation ------------------------------------------
43

44    public String JavaDoc getTopicName()
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