Package org.apache.camel.component.bean
Class MethodInfoCache
java.lang.Object
org.apache.camel.component.bean.MethodInfoCache
Represents a cache of
MethodInfo objects to avoid the expense of introspection for each invocation of a
method via a proxy.-
Constructor Summary
ConstructorsConstructorDescriptionMethodInfoCache(org.apache.camel.CamelContext camelContext) MethodInfoCache(org.apache.camel.CamelContext camelContext, int classCacheSize, int methodCacheSize) MethodInfoCache(org.apache.camel.CamelContext camelContext, Map<Class<?>, BeanInfo> classCache, Map<Method, MethodInfo> methodCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected BeanInfocreateBeanInfo(Class<?> declaringClass) protected static <K,V> Map<K, V> createLruCache(int size) protected MethodInfocreateMethodInfo(Method method) protected BeanInfogetBeanInfo(Class<?> declaringClass) getMethodInfo(Method method)
-
Constructor Details
-
MethodInfoCache
public MethodInfoCache(org.apache.camel.CamelContext camelContext) -
MethodInfoCache
public MethodInfoCache(org.apache.camel.CamelContext camelContext, int classCacheSize, int methodCacheSize) -
MethodInfoCache
-
-
Method Details
-
getMethodInfo
-
createMethodInfo
-
getBeanInfo
-
createBeanInfo
-
createLruCache
-