Class BeanGeneratorPropertySource
java.lang.Object
org.ldaptive.props.AbstractPropertySource<BeanGenerator>
org.ldaptive.beans.generate.props.BeanGeneratorPropertySource
- All Implemented Interfaces:
PropertySource<BeanGenerator>
Reads properties specific to
BeanGenerator and returns an initialized object of that type.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final BeanGeneratorPropertyInvokerInvoker for bean generator.Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new bean generator property source using the default properties file.BeanGeneratorPropertySource(BeanGenerator pc, Reader... readers) Creates a new bean generator property source.BeanGeneratorPropertySource(BeanGenerator pc, String... paths) Creates a new bean generator property source.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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property names for this property source.voidInitializes the object for this property source.Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
-
Field Details
-
INVOKER
Invoker for bean generator.
-
-
Constructor Details
-
BeanGeneratorPropertySource
Creates a new bean generator property source using the default properties file.- Parameters:
bg- bean generator to invoke properties on
-
BeanGeneratorPropertySource
Creates a new bean generator property source.- Parameters:
pc- bean generator to invoke properties onpaths- to read properties from
-
BeanGeneratorPropertySource
Creates a new bean generator property source.- Parameters:
pc- bean generator to invoke properties onreaders- to read properties from
-
BeanGeneratorPropertySource
Creates a new bean generator property source.- Parameters:
pc- bean generator to invoke properties onprops- to read properties from
-
BeanGeneratorPropertySource
public BeanGeneratorPropertySource(BeanGenerator pc, PropertySource.PropertyDomain domain, Properties props) Creates a new bean generator property source.- Parameters:
pc- bean generator to invoke properties ondomain- that properties are inprops- to read properties from
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:PropertySourceInitializes the object for this property source. -
getProperties
Returns the property names for this property source.- Returns:
- all property names
-