CacheMethod Class

com.beasys.commerce.util
CacheMethod Class

public class CacheMethod

    extends Object

Abstracts a key for caching Java method objects


Hierarchy
Object
  CacheMethod

Constructor Summary

CacheMethod(Class clazz, String methodName, Class paramTypes, Method method)

Cache method.
 

Method Summary

protected boolean
checkParams(Class[] someParams)
Check params.
public boolean
equals(Object anObject)
Equals.
public String
getKey()
Returns a key
public Method
getMethod()
Returns the method
public void
setMethod(Method method)
Sets the method
public String
toString()
 
Methods from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Constructor Detail

CacheMethod

public CacheMethod(Class clazz, 
                   String methodName, 
                   Class[] paramTypes, 
                   Method method)
Cache method.
 

Method Detail

checkParams(Class[]) Method

protected boolean checkParams(Class[] someParams)
Check params.

Returns

boolean

equals(Object) Method

public boolean equals(Object anObject)
Equals.

Overrides
Object.equals(Object)

Returns

boolean

getKey() Method

public String getKey()
Returns a key


getMethod() Method

public Method getMethod()
Returns the method


setMethod(Method) Method

public void setMethod(Method method)
Sets the method


toString() Method

public String toString()
Overrides
Object.toString()