org.ldaptive.beans.generate.props
Class BeanGeneratorPropertySource

java.lang.Object
  extended by org.ldaptive.props.AbstractPropertySource<BeanGenerator>
      extended by org.ldaptive.beans.generate.props.BeanGeneratorPropertySource
All Implemented Interfaces:
org.ldaptive.props.PropertySource<BeanGenerator>

public final class BeanGeneratorPropertySource
extends org.ldaptive.props.AbstractPropertySource<BeanGenerator>

Reads properties specific to BeanGenerator and returns an initialized object of that type.

Version:
$Revision: 3013 $ $Date: 2014-07-02 11:26:52 -0400 (Wed, 02 Jul 2014) $
Author:
Middleware Services

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
org.ldaptive.props.PropertySource.PropertyDomain
 
Field Summary
 
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
 
Constructor Summary
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, org.ldaptive.props.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.
 
Method Summary
static Set<String> getProperties()
          Returns the property names for this property source.
 void initialize()
          
 
Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanGeneratorPropertySource

public BeanGeneratorPropertySource(BeanGenerator bg)
Creates a new bean generator property source using the default properties file.

Parameters:
bg - bean generator to invoke properties on

BeanGeneratorPropertySource

public BeanGeneratorPropertySource(BeanGenerator pc,
                                   String... paths)
Creates a new bean generator property source.

Parameters:
pc - bean generator to invoke properties on
paths - to read properties from

BeanGeneratorPropertySource

public BeanGeneratorPropertySource(BeanGenerator pc,
                                   Reader... readers)
Creates a new bean generator property source.

Parameters:
pc - bean generator to invoke properties on
readers - to read properties from

BeanGeneratorPropertySource

public BeanGeneratorPropertySource(BeanGenerator pc,
                                   Properties props)
Creates a new bean generator property source.

Parameters:
pc - bean generator to invoke properties on
props - to read properties from

BeanGeneratorPropertySource

public BeanGeneratorPropertySource(BeanGenerator pc,
                                   org.ldaptive.props.PropertySource.PropertyDomain domain,
                                   Properties props)
Creates a new bean generator property source.

Parameters:
pc - bean generator to invoke properties on
domain - that properties are in
props - to read properties from
Method Detail

initialize

public void initialize()


getProperties

public static Set<String> getProperties()
Returns the property names for this property source.

Returns:
all property names


Copyright © 2003-2014 Virginia Tech. All Rights Reserved.