public class BeanDescriptionCache
extends java.lang.Object
BeanDescription instances. All the cache users which use
the same instance of BeanDescriptionCache can profit from each others cached
bean descriptions.
The cache is not thread-safe and should not be shared across configurator instances.
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Class<?>,BeanDescription> |
classToBeanDescription |
| Constructor and Description |
|---|
BeanDescriptionCache() |
| Modifier and Type | Method and Description |
|---|---|
BeanDescription |
getBeanDescription(java.lang.Class<?> clazz)
Returned bean descriptions are hold in a cache.
|
private java.util.Map<java.lang.Class<?>,BeanDescription> classToBeanDescription
public BeanDescription getBeanDescription(java.lang.Class<?> clazz)
clazz - to get a bean description for.