Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class MethodCache

java.lang.Object
  extended by com.liferay.portal.kernel.util.MethodCache

public class MethodCache
extends Object


Method Summary
static Method get(Map<String,Class<?>> classesMap, Map<MethodKey,Method> methodsMap, String className, String methodName)
           
static Method get(Map<String,Class<?>> classesMap, Map<MethodKey,Method> methodsMap, String className, String methodName, Class<?>[] parameterTypes)
           
static Method get(MethodKey methodKey)
           
static Method get(String className, String methodName)
           
static Method get(String className, String methodName, Class<?>[] parameterTypes)
           
static MethodCache getInstance()
           
static Method put(MethodKey methodKey, Method method)
           
static void remove(Class<?> clazz)
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static Method get(Map<String,Class<?>> classesMap,
                         Map<MethodKey,Method> methodsMap,
                         String className,
                         String methodName)
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException

get

public static Method get(Map<String,Class<?>> classesMap,
                         Map<MethodKey,Method> methodsMap,
                         String className,
                         String methodName,
                         Class<?>[] parameterTypes)
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException

get

public static Method get(MethodKey methodKey)
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException

get

public static Method get(String className,
                         String methodName)
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException

get

public static Method get(String className,
                         String methodName,
                         Class<?>[] parameterTypes)
                  throws ClassNotFoundException,
                         NoSuchMethodException
Throws:
ClassNotFoundException
NoSuchMethodException

getInstance

public static MethodCache getInstance()

put

public static Method put(MethodKey methodKey,
                         Method method)

remove

public static void remove(Class<?> clazz)

reset

public static void reset()

Liferay 6.1.2-ce-ga3