org.apache.qpid.client
Class AMQDestination
java.lang.Object
org.apache.qpid.client.AMQDestination
- All Implemented Interfaces:
- javax.jms.Destination, javax.naming.Referenceable
- Direct Known Subclasses:
- AMQHeadersExchange, AMQQueue, AMQTopic
public abstract class AMQDestination
- extends java.lang.Object
- implements javax.jms.Destination, javax.naming.Referenceable
Constructor Summary |
protected |
AMQDestination(org.apache.qpid.url.BindingURL binding)
|
protected |
AMQDestination(java.lang.String url)
|
protected |
AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName)
|
protected |
AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName,
boolean isExclusive,
boolean isAutoDelete,
java.lang.String queueName)
|
protected |
AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName,
java.lang.String queueName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
_exchangeName
protected final java.lang.String _exchangeName
_exchangeClass
protected final java.lang.String _exchangeClass
_destinationName
protected final java.lang.String _destinationName
_isDurable
protected boolean _isDurable
_isExclusive
protected final boolean _isExclusive
_isAutoDelete
protected final boolean _isAutoDelete
_queueName
protected java.lang.String _queueName
AMQDestination
protected AMQDestination(java.lang.String url)
throws org.apache.qpid.url.URLSyntaxException
- Throws:
org.apache.qpid.url.URLSyntaxException
AMQDestination
protected AMQDestination(org.apache.qpid.url.BindingURL binding)
AMQDestination
protected AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName,
java.lang.String queueName)
AMQDestination
protected AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName)
AMQDestination
protected AMQDestination(java.lang.String exchangeName,
java.lang.String exchangeClass,
java.lang.String destinationName,
boolean isExclusive,
boolean isAutoDelete,
java.lang.String queueName)
getEncodedName
public abstract java.lang.String getEncodedName()
isDurable
public boolean isDurable()
getExchangeName
public java.lang.String getExchangeName()
getExchangeClass
public java.lang.String getExchangeClass()
isTopic
public boolean isTopic()
isQueue
public boolean isQueue()
getDestinationName
public java.lang.String getDestinationName()
getQueueName
public java.lang.String getQueueName()
setQueueName
public void setQueueName(java.lang.String queueName)
getRoutingKey
public abstract java.lang.String getRoutingKey()
isExclusive
public boolean isExclusive()
isAutoDelete
public boolean isAutoDelete()
isNameRequired
public abstract boolean isNameRequired()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toURL
public java.lang.String toURL()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference
in interface javax.naming.Referenceable
- Throws:
javax.naming.NamingException