Class QueueRef
- java.lang.Object
-
- net.timewalker.ffmq4.common.destination.DestinationRef
-
- net.timewalker.ffmq4.common.destination.QueueRef
-
- All Implemented Interfaces:
Serializable,javax.jms.Destination,javax.jms.Queue,Referenceable
- Direct Known Subclasses:
TemporaryQueueRef
public class QueueRef extends DestinationRef implements javax.jms.Queue
Implementation of a Queue reference (not a real queue)
- See Also:
DestinationRef, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQueueName()ReferencegetReference()StringgetResourceName()Get the resource name for this destination referenceStringtoString()
-
-
-
Field Detail
-
name
protected String name
-
-
Constructor Detail
-
QueueRef
public QueueRef(String name)
Constructor
-
-
Method Detail
-
getQueueName
public final String getQueueName()
- Specified by:
getQueueNamein interfacejavax.jms.Queue
-
getResourceName
public final String getResourceName()
Description copied from class:DestinationRefGet the resource name for this destination reference- Specified by:
getResourceNamein classDestinationRef
-
getReference
public final Reference getReference() throws NamingException
- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
-