org.springframework.jmx.access
Class MBeanClientInterceptor.MethodCacheKey

java.lang.Object
  extended by org.springframework.jmx.access.MBeanClientInterceptor.MethodCacheKey
Enclosing class:
MBeanClientInterceptor

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

Simple wrapper class around a method name and its signature. Used as the key when caching methods.


Field Summary
private  java.lang.String name
           
private  java.lang.Class[] parameterTypes
           
 
Constructor Summary
MBeanClientInterceptor.MethodCacheKey(java.lang.String name, java.lang.Class[] parameterTypes)
          Create a new instance of MethodCacheKey with the supplied method name and parameter list.
 
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

name

private final java.lang.String name

parameterTypes

private final java.lang.Class[] parameterTypes
Constructor Detail

MBeanClientInterceptor.MethodCacheKey

public MBeanClientInterceptor.MethodCacheKey(java.lang.String name,
                                             java.lang.Class[] parameterTypes)
Create a new instance of MethodCacheKey with the supplied method name and parameter list.

Parameters:
name - the name of the method
parameterTypes - the arguments in the method signature
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