public enum MethodInfoCache extends Enum<MethodInfoCache> implements Iterable<Map.Entry<MethodInfoCache.Key,MethodInfo>>
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodInfoCache.Key |
| Enum Constant and Description |
|---|
INSTANCE
Singleton enum pattern
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
MethodInfo |
get(String beanName,
String methodName)
Get a method from the MethodCache.
|
Iterator<Map.Entry<MethodInfoCache.Key,MethodInfo>> |
iterator() |
void |
put(String beanName,
Class<?> clazz,
Method method,
org.springframework.context.ApplicationContext context)
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 void put(String beanName, Class<?> clazz, Method method, org.springframework.context.ApplicationContext context)
beanName - the name of the beanclazz - the class of the beanmethod - the methodcontext - the Spring application contextpublic MethodInfo get(String beanName, String methodName)
beanName - the name of the beanmethodName - the name of the methodpublic Iterator<Map.Entry<MethodInfoCache.Key,MethodInfo>> iterator()
iterator in interface Iterable<Map.Entry<MethodInfoCache.Key,MethodInfo>>public void clear()
Copyright © 2010-2013. All Rights Reserved.