org.springframework.jms.connection
Class CachingConnectionFactory.ConsumerCacheKey

java.lang.Object
  extended by org.springframework.jms.connection.CachingConnectionFactory.DestinationCacheKey
      extended by org.springframework.jms.connection.CachingConnectionFactory.ConsumerCacheKey
Enclosing class:
CachingConnectionFactory

private static class CachingConnectionFactory.ConsumerCacheKey
extends CachingConnectionFactory.DestinationCacheKey

Simple wrapper class around a Destination and other consumer attributes. Used as the cache key when caching MessageConsumer objects.


Field Summary
private  boolean noLocal
           
private  java.lang.String selector
           
private  java.lang.String subscription
           
 
Constructor Summary
CachingConnectionFactory.ConsumerCacheKey(Destination destination, java.lang.String selector, boolean noLocal, java.lang.String subscription)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 
Methods inherited from class org.springframework.jms.connection.CachingConnectionFactory.DestinationCacheKey
destinationEquals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selector

private final java.lang.String selector

noLocal

private final boolean noLocal

subscription

private final java.lang.String subscription
Constructor Detail

CachingConnectionFactory.ConsumerCacheKey

public CachingConnectionFactory.ConsumerCacheKey(Destination destination,
                                                 java.lang.String selector,
                                                 boolean noLocal,
                                                 java.lang.String subscription)
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class CachingConnectionFactory.DestinationCacheKey