org.springframework.context.event
Class AbstractApplicationEventMulticaster.ListenerCacheKey

java.lang.Object
  extended by org.springframework.context.event.AbstractApplicationEventMulticaster.ListenerCacheKey
Enclosing class:
AbstractApplicationEventMulticaster

private static class AbstractApplicationEventMulticaster.ListenerCacheKey
extends java.lang.Object

Cache key for ListenerRetrievers, based on event type and source type.


Field Summary
private  java.lang.Class eventType
           
private  java.lang.Class sourceType
           
 
Constructor Summary
AbstractApplicationEventMulticaster.ListenerCacheKey(java.lang.Class eventType, java.lang.Class sourceType)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventType

private final java.lang.Class eventType

sourceType

private final java.lang.Class sourceType
Constructor Detail

AbstractApplicationEventMulticaster.ListenerCacheKey

public AbstractApplicationEventMulticaster.ListenerCacheKey(java.lang.Class eventType,
                                                            java.lang.Class sourceType)
Method Detail

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