public enum MethodInfoCache extends Enum<MethodInfoCache>
| Enum Constant and Description |
|---|
INSTANCE
Singleton enum pattern
|
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
get(String beanName,
String methodName)
Get a method from the MethodCache.
|
MethodInfo |
put(String beanName,
String methodName,
Class<?> clazz,
Method method)
Put a method into the MethodCache.
|
static MethodInfoCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodInfoCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodInfoCache INSTANCE
public static MethodInfoCache[] values()
for (MethodInfoCache c : MethodInfoCache.values()) System.out.println(c);
public static MethodInfoCache valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic MethodInfo put(String beanName, String methodName, Class<?> clazz, Method method)
beanName - the name of the beanmethodName - the name of the methodclazz - the class of the beanmethod - the methodpublic MethodInfo get(String beanName, String methodName)
beanName - the name of the beanmethodName - the name of the methodCopyright © 2010-2012. All Rights Reserved.