Class BeanMetaDataManagerImpl

java.lang.Object
org.hibernate.validator.internal.metadata.BeanMetaDataManagerImpl
All Implemented Interfaces:
BeanMetaDataManager

public class BeanMetaDataManagerImpl extends Object implements BeanMetaDataManager
This manager is in charge of providing all constraint related meta data required by the validation engine.

Actual retrieval of meta data is delegated to MetaDataProvider implementations which load meta-data based e.g. based on annotations or XML.

For performance reasons a cache is used which stores all meta data once loaded for repeated retrieval. Upon initialization this cache is populated with meta data provided by the given eager providers. If the cache doesn't contain the meta data for a requested type it will be retrieved on demand using the annotation based provider.

Author:
Gunnar Morling, Chris Beckey <cbeckey@paypal.com>, Guillaume Smet