org.springframework.jms.connection
Class CachingConnectionFactory.DestinationCacheKey

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

private static class CachingConnectionFactory.DestinationCacheKey
extends java.lang.Object

Simple wrapper class around a Destination reference. Used as the cache key when caching MessageProducer objects.


Field Summary
private  Destination destination
           
private  java.lang.String destinationString
           
 
Constructor Summary
CachingConnectionFactory.DestinationCacheKey(Destination destination)
           
 
Method Summary
protected  boolean destinationEquals(CachingConnectionFactory.DestinationCacheKey otherKey)
           
 boolean equals(java.lang.Object other)
           
private  java.lang.String getDestinationString()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

private final Destination destination

destinationString

private java.lang.String destinationString
Constructor Detail

CachingConnectionFactory.DestinationCacheKey

public CachingConnectionFactory.DestinationCacheKey(Destination destination)
Method Detail

getDestinationString

private java.lang.String getDestinationString()

destinationEquals

protected boolean destinationEquals(CachingConnectionFactory.DestinationCacheKey otherKey)

equals

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

hashCode

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