KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > jms > JMSQueue


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6
7 package org.jfox.jms;
8
9 import javax.jms.JMSException JavaDoc;
10 import javax.jms.Queue JavaDoc;
11
12 /**
13  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
14  */

15
16 public class JMSQueue extends JMSDestination implements Queue JavaDoc {
17
18     public JMSQueue(String JavaDoc name) {
19         super(name);
20     }
21
22     public String JavaDoc getQueueName() throws JMSException JavaDoc {
23         return getName();
24     }
25
26     protected boolean isTopic() {
27         return false;
28     }
29
30     public static void main(String JavaDoc[] args) {
31
32     }
33 }
34
Popular Tags