© 2005 BEA Systems, Inc.

com.beasys.commerce.util
Class CacheMethod

java.lang.Object
  extended bycom.beasys.commerce.util.CacheMethod

public class CacheMethod
extends Object

Abstracts a key for caching Java method objects


Constructor Summary
CacheMethod(Class clazz, String methodName, Class[] paramTypes, Method method)
          Cache method.
 
Method Summary
protected  boolean checkParams(Class[] someParams)
          Check params.
 boolean equals(Object anObject)
          Equals.
 String getKey()
          Returns a key
 Method getMethod()
          Returns the method
 void setMethod(Method method)
          Sets the method
 String toString()
           
 
Methods inherited 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

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

Parameters:
someParams -
Returns:
boolean

equals

public boolean equals(Object anObject)
Equals.

Parameters:
anObject -
Returns:
boolean

getKey

public String getKey()
Returns a key


getMethod

public Method getMethod()
Returns the method


setMethod

public void setMethod(Method method)
Sets the method


toString

public String toString()

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved