|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MethodInfoCache>
ch.ralscha.extdirectspring.util.MethodInfoCache
public enum MethodInfoCache
A simple cache for methods with key beanName/methodName
| Enum Constant Summary | |
|---|---|
INSTANCE
Singleton enum pattern |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MethodInfoCache INSTANCE
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is null
public 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 method
public MethodInfo get(java.lang.String beanName,
java.lang.String methodName)
beanName - the name of the beanmethodName - the name of the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||