bitronix.tm.resource.jms
Class MessageProducerConsumerKey

java.lang.Object
  extended by bitronix.tm.resource.jms.MessageProducerConsumerKey

public class MessageProducerConsumerKey
extends java.lang.Object

JMS destination wrapper optimized for use with hashed collections where it is the key and a MessageProducer or a MessageConsumer is the value.

© Bitronix Software

Author:
lorban

Constructor Summary
MessageProducerConsumerKey(javax.jms.Destination destination)
           
MessageProducerConsumerKey(javax.jms.Destination destination, java.lang.String messageSelector)
           
MessageProducerConsumerKey(javax.jms.Destination destination, java.lang.String messageSelector, boolean noLocal)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageProducerConsumerKey

public MessageProducerConsumerKey(javax.jms.Destination destination)

MessageProducerConsumerKey

public MessageProducerConsumerKey(javax.jms.Destination destination,
                                  java.lang.String messageSelector)

MessageProducerConsumerKey

public MessageProducerConsumerKey(javax.jms.Destination destination,
                                  java.lang.String messageSelector,
                                  boolean noLocal)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object