public final class BeanGeneratorPropertySource extends AbstractPropertySource<BeanGenerator>
BeanGenerator and returns an initialized object of that type.PropertySource.PropertyDomain| Modifier and Type | Field and Description |
|---|---|
private static BeanGeneratorPropertyInvoker |
INVOKER
Invoker for bean generator.
|
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain| Constructor and Description |
|---|
BeanGeneratorPropertySource(BeanGenerator bg)
Creates a new bean generator property source using the default properties file.
|
BeanGeneratorPropertySource(BeanGenerator pc,
Properties props)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
Reader... readers)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
String... paths)
Creates a new bean generator property source.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
getProperties()
Returns the property names for this property source.
|
void |
initialize()
Initializes the object for this property source.
|
initializeObject, loadProperties, loadPropertiesprivate static final BeanGeneratorPropertyInvoker INVOKER
public BeanGeneratorPropertySource(BeanGenerator bg)
bg - bean generator to invoke properties onpublic BeanGeneratorPropertySource(BeanGenerator pc, String... paths)
pc - bean generator to invoke properties onpaths - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, Reader... readers)
pc - bean generator to invoke properties onreaders - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, Properties props)
pc - bean generator to invoke properties onprops - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, PropertySource.PropertyDomain domain, Properties props)
pc - bean generator to invoke properties ondomain - that properties are inprops - to read properties frompublic void initialize()
PropertySourceCopyright © 2003-2019 Virginia Tech. All Rights Reserved.