org.apache.activemq.command
Class ActiveMQQueue

java.lang.Object
  extended by org.apache.activemq.jndi.JNDIBaseStorable
      extended by org.apache.activemq.command.ActiveMQDestination
          extended by org.apache.activemq.command.ActiveMQQueue
All Implemented Interfaces:
Externalizable, Serializable, Comparable<Object>, Destination, Queue, Referenceable, DataStructure, JNDIStorableInterface

public class ActiveMQQueue
extends ActiveMQDestination
implements Queue

See Also:
Serialized Form

Field Summary
static byte DATA_STRUCTURE_TYPE
           
 
Fields inherited from class org.apache.activemq.command.ActiveMQDestination
COMPOSITE_SEPERATOR, compositeDestinations, destinationPaths, hashValue, isPattern, options, PATH_SEPERATOR, physicalName, QUEUE_QUALIFIED_PREFIX, QUEUE_TYPE, TEMP_DESTINATION_NAME_PREFIX, TEMP_MASK, TEMP_QUEUE_QUALIFED_PREFIX, TEMP_QUEUE_TYPE, TEMP_TOPIC_QUALIFED_PREFIX, TEMP_TOPIC_TYPE, TOPIC_QUALIFIED_PREFIX, TOPIC_TYPE, unresolvableDestinationTransformer
 
Constructor Summary
ActiveMQQueue()
           
ActiveMQQueue(String name)
           
 
Method Summary
 byte getDataStructureType()
           
 byte getDestinationType()
           
protected  String getQualifiedPrefix()
           
 String getQueueName()
           
 boolean isQueue()
           
 
Methods inherited from class org.apache.activemq.command.ActiveMQDestination
buildFromProperties, compare, compareTo, createDestination, createDestination, equals, getCompositeDestinations, getDestinationPaths, getDestinationTypeAsString, getOptions, getPhysicalName, getQualifiedName, getUnresolvableDestinationTransformer, hashCode, isComposite, isMarshallAware, isPattern, isTemporary, isTopic, populateProperties, readExternal, setCompositeDestinations, setPhysicalName, setUnresolvableDestinationTransformer, toString, transform, writeExternal
 
Methods inherited from class org.apache.activemq.jndi.JNDIBaseStorable
getProperties, getReference, setProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
toString
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values
Constructor Detail

ActiveMQQueue

public ActiveMQQueue()

ActiveMQQueue

public ActiveMQQueue(String name)
Method Detail

getDataStructureType

public byte getDataStructureType()
Specified by:
getDataStructureType in interface DataStructure
Returns:
The type of the data structure

isQueue

public boolean isQueue()
Overrides:
isQueue in class ActiveMQDestination

getQueueName

public String getQueueName()
                    throws JMSException
Specified by:
getQueueName in interface Queue
Throws:
JMSException

getDestinationType

public byte getDestinationType()
Specified by:
getDestinationType in class ActiveMQDestination

getQualifiedPrefix

protected String getQualifiedPrefix()
Specified by:
getQualifiedPrefix in class ActiveMQDestination


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.