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,
java.util.Properties props)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
PropertySource.PropertyDomain domain,
java.util.Properties props)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
java.io.Reader... readers)
Creates a new bean generator property source.
|
BeanGeneratorPropertySource(BeanGenerator pc,
java.lang.String... paths)
Creates a new bean generator property source.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.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, java.lang.String... paths)
pc - bean generator to invoke properties onpaths - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, java.io.Reader... readers)
pc - bean generator to invoke properties onreaders - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, java.util.Properties props)
pc - bean generator to invoke properties onprops - to read properties frompublic BeanGeneratorPropertySource(BeanGenerator pc, PropertySource.PropertyDomain domain, java.util.Properties props)
pc - bean generator to invoke properties ondomain - that properties are inprops - to read properties frompublic void initialize()
PropertySourcepublic static java.util.Set<java.lang.String> getProperties()