org.apache.activemq.command
Class ActiveMQTempDestination

java.lang.Object
  extended by org.apache.activemq.jndi.JNDIBaseStorable
      extended by org.apache.activemq.command.ActiveMQDestination
          extended by org.apache.activemq.command.ActiveMQTempDestination
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Comparable, javax.jms.Destination, javax.naming.Referenceable, DataStructure, JNDIStorableInterface
Direct Known Subclasses:
ActiveMQTempQueue, ActiveMQTempTopic

public abstract class ActiveMQTempDestination
extends ActiveMQDestination

See Also:
Serialized Form

Field Summary
protected  ActiveMQConnection connection
           
protected  java.lang.String connectionId
           
protected  int sequenceId
           
 
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
 
Constructor Summary
ActiveMQTempDestination()
           
ActiveMQTempDestination(java.lang.String name)
           
ActiveMQTempDestination(java.lang.String connectionId, long sequenceId)
           
 
Method Summary
 void delete()
           
 ActiveMQConnection getConnection()
           
 java.lang.String getConnectionId()
           
 int getSequenceId()
           
 boolean isTemporary()
           
 void setConnection(ActiveMQConnection connection)
           
 void setConnectionId(java.lang.String connectionId)
           
 void setPhysicalName(java.lang.String physicalName)
           
 
Methods inherited from class org.apache.activemq.command.ActiveMQDestination
buildFromProperties, compare, compareTo, createDestination, createDestination, equals, getCompositeDestinations, getDestinationPaths, getDestinationType, getDestinationTypeAsString, getOptions, getPhysicalName, getQualifiedName, getQualifiedPrefix, hashCode, isComposite, isMarshallAware, isPattern, isQueue, isTopic, populateProperties, readExternal, setCompositeDestinations, 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, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.command.DataStructure
getDataStructureType
 

Field Detail

connection

protected transient ActiveMQConnection connection

connectionId

protected transient java.lang.String connectionId

sequenceId

protected transient int sequenceId
Constructor Detail

ActiveMQTempDestination

public ActiveMQTempDestination()

ActiveMQTempDestination

public ActiveMQTempDestination(java.lang.String name)

ActiveMQTempDestination

public ActiveMQTempDestination(java.lang.String connectionId,
                               long sequenceId)
Method Detail

isTemporary

public boolean isTemporary()
Overrides:
isTemporary in class ActiveMQDestination

delete

public void delete()
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getConnection

public ActiveMQConnection getConnection()

setConnection

public void setConnection(ActiveMQConnection connection)

setPhysicalName

public void setPhysicalName(java.lang.String physicalName)
Overrides:
setPhysicalName in class ActiveMQDestination

getConnectionId

public java.lang.String getConnectionId()

setConnectionId

public void setConnectionId(java.lang.String connectionId)

getSequenceId

public int getSequenceId()


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.