public enum MethodInfoCache extends java.lang.Enum<MethodInfoCache>
| Enum Constant and Description |
|---|
INSTANCE
Singleton enum pattern
|
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
get(java.lang.String beanName,
java.lang.String methodName)
Get a method from the MethodCache.
|
MethodInfo |
put(java.lang.String beanName,
java.lang.String methodName,
java.lang.Class<?> clazz,
java.lang.reflect.Method method)
Put a method into the MethodCache.
|
static MethodInfoCache |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic MethodInfo put(java.lang.String beanName, java.lang.String methodName, java.lang.Class<?> clazz, java.lang.reflect.Method method)
beanName - the name of the beanmethodName - the name of the methodclazz - the class of the beanmethod - the methodpublic MethodInfo get(java.lang.String beanName, java.lang.String methodName)
beanName - the name of the beanmethodName - the name of the methodCopyright © 2010-2012. All Rights Reserved.