org.springframework.jmx.access
Class MBeanClientInterceptor.MethodCacheKey
java.lang.Object
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.
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
name
private final java.lang.String name
parameterTypes
private final java.lang.Class[] parameterTypes
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 methodparameterTypes
- the arguments in the method signature
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