public class JsrMetaBeanFactory extends Object implements MetaBeanFactory
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationProcessor |
annotationProcessor
AnnotationProcessor used. |
protected ApacheValidatorFactory |
factory
ValidatorFactory used |
protected static Logger |
log
Shared log instance
|
| Constructor and Description |
|---|
JsrMetaBeanFactory(ApacheValidatorFactory factory)
Create a new Jsr303MetaBeanFactory instance.
|
| Modifier and Type | Method and Description |
|---|---|
static MetaProperty |
addMetaProperty(MetaBean parentMetaBean,
AccessStrategy access)
Add a
MetaProperty to a MetaBean. |
void |
buildMetaBean(MetaBean metabean)
Initialize the specified
MetaBean. |
protected static final Logger log
protected final ApacheValidatorFactory factory
ValidatorFactory usedprotected AnnotationProcessor annotationProcessor
AnnotationProcessor used.public JsrMetaBeanFactory(ApacheValidatorFactory factory)
factory - the validator factory.public void buildMetaBean(MetaBean metabean)
MetaBean. Add the validation features to the metabean that come from JSR303 annotations in the beanClass.buildMetaBean in interface MetaBeanFactorypublic static MetaProperty addMetaProperty(MetaBean parentMetaBean, AccessStrategy access)
MetaProperty to a MetaBean.parentMetaBean - access - MetaPropertyCopyright © 2010–2024 The Apache Software Foundation. All rights reserved.