|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ComponentRole public interface BeanManager
Component used to populate or parse a java bean.
populate(Object, Map) ignore properties names casepopulate(Object, Map) validate the bean based JSR 303RawProperties, the remaining property (the one non populated using setters of
public fields) are given to it as custom non converted properties
| Method Summary | |
|---|---|
BeanDescriptor |
getBeanDescriptor(Class<?> beanClass)
Parse provided java bean and return a descriptor with all its public properties. |
void |
populate(Object bean,
Map<String,?> values)
Convert provided values and inject them in the provided java bean. |
| Method Detail |
|---|
void populate(Object bean,
Map<String,?> values)
throws PropertyException
bean - the java bean to populatevalues - the values to convert and inject in the java bean
PropertyException - error append during the populateBeanDescriptor getBeanDescriptor(Class<?> beanClass)
beanClass - the java bean class to parse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||