Package jadex.common.transformation
Class BeanIntrospectorFactory
java.lang.Object
jadex.common.transformation.BeanIntrospectorFactory
Factory for generating bean introspectors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected static BeanIntrospectorFactoryThe factor instanceprotected IBeanIntrospectorThe introspector. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbeanToString(Object bean, ClassLoader cl) Converts a bean to a string.Gets an introspector with default lru size.getBeanIntrospector(int lrusize) Gets an introspector.static BeanIntrospectorFactoryGets 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.
-