Package jadex.common.transformation
Class BeanIntrospectorFactory
java.lang.Object
jadex.common.transformation.BeanIntrospectorFactory
Factory for generating bean introspectors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected static BeanIntrospectorFactory
The factor instanceprotected IBeanIntrospector
The introspector. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
beanToString
(Object bean, ClassLoader cl) Converts a bean to a string.Gets an introspector with default lru size.getBeanIntrospector
(int lrusize) Gets an introspector.static BeanIntrospectorFactory
Gets a factory instance.
-
Field Details
-
DEFAULT_INTROSPECTOR_CACHE_SIZE
protected int DEFAULT_INTROSPECTOR_CACHE_SIZE -
instance
The factor instance -
introspector
The introspector.
-
-
Method Details
-
getInstance
Gets a factory instance.- Returns:
- Instance.
-
getBeanIntrospector
Gets an introspector with default lru size.- Returns:
- The introspector.
-
getBeanIntrospector
Gets an introspector.- Returns:
- The introspector.
-
beanToString
Converts a bean to a string.- Parameters:
bean
- The bean.cl
- The classloader.
-