org.apache.camel.component.bean
Class MethodInfoCache
java.lang.Object
org.apache.camel.component.bean.MethodInfoCache
public class MethodInfoCache
- extends Object
Represents a cache of MethodInfo objects to avoid the expense of introspection for each invocation of a method
via a proxy
- Version:
- $Revision: 747062 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfoCache
public MethodInfoCache(CamelContext camelContext)
MethodInfoCache
public MethodInfoCache(CamelContext camelContext,
int classCacheSize,
int methodCacheSize)
MethodInfoCache
public MethodInfoCache(CamelContext camelContext,
Map<Class,BeanInfo> classCache,
Map<Method,MethodInfo> methodCache)
getMethodInfo
public MethodInfo getMethodInfo(Method method)
createMethodInfo
protected MethodInfo createMethodInfo(Method method)
getBeanInfo
protected BeanInfo getBeanInfo(Class<?> declaringClass)
createBeanInfo
protected BeanInfo createBeanInfo(Class<?> declaringClass)
createLruCache
protected static Map createLruCache(int size)
Apache CAMEL