org.springframework.aop.framework
Class AdvisedSupport.MethodCacheKey

java.lang.Object
  extended by org.springframework.aop.framework.AdvisedSupport.MethodCacheKey
Enclosing class:
AdvisedSupport

private static class AdvisedSupport.MethodCacheKey
extends java.lang.Object

Simple wrapper class around a Method. Used as the key when caching methods, for efficient equals and hashCode comparisons.


Field Summary
private  int hashCode
           
private  java.lang.reflect.Method method
           
 
Constructor Summary
AdvisedSupport.MethodCacheKey(java.lang.reflect.Method method)
           
 
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

method

private final java.lang.reflect.Method method

hashCode

private final int hashCode
Constructor Detail

AdvisedSupport.MethodCacheKey

public AdvisedSupport.MethodCacheKey(java.lang.reflect.Method method)
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