org.springframework.jms.connection
Class CachingConnectionFactory.DestinationCacheKey
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
destination
private final Destination destination
destinationString
private java.lang.String destinationString
CachingConnectionFactory.DestinationCacheKey
public CachingConnectionFactory.DestinationCacheKey(Destination destination)
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