| Home >> All >> org >> mom4j >> [ jms Javadoc ] |
Source code: org/mom4j/jms/QueueImpl.java
1 package org.mom4j.jms; 2 3 4 /** 5 * 6 * @version $Revision: 1.1.1.1 $ $Date: 2003/07/04 12:48:49 $ 7 */ 8 public class QueueImpl extends DestinationImpl implements javax.jms.Queue { 9 10 public static final String ID = "queue:"; 11 12 13 public QueueImpl(String name) { 14 super(name); 15 } 16 17 18 public String getQueueName() 19 throws javax.jms.JMSException 20 { 21 return this.getName(); 22 } 23 24 25 public String toString() { 26 return ID + this.getName(); 27 } 28 29 }