public class BeanPropertyValuesFactory extends Object implements Factory<Map<String,Object>>
Map of values, keyed by property name, that could be used to populate
the properties of a Bean, based on information about the Bean provided in the form of a BeanInformation
instance.| Constructor and Description |
|---|
BeanPropertyValuesFactory(BeanInformation beanInformation,
FactoryLookupStrategy factoryLookupStrategy,
Configuration configuration)
Construct a new Bean Property Values Factory.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
create()
Create a Map of values that could be used to populate the properties of the Bean defined by the BeanInformation
provided upon construction of this Factory, keyed by property name.
|
public BeanPropertyValuesFactory(BeanInformation beanInformation, FactoryLookupStrategy factoryLookupStrategy, Configuration configuration)
beanInformation - Information used to create property values for a bean.factoryLookupStrategy - Provides a means of acquiring a suitable Factory for use when creating values.configuration - Provides override configurationIllegalArgumentException - If the specified BeanInformation or FactoryLookupStrategy is deemed illegal. For example, if either
is null.public Map<String,Object> create() throws ObjectCreationException
Copyright © 2010–2020 meanbean. All rights reserved.