Class BeanGeneratorPropertySource

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

public final class BeanGeneratorPropertySource extends AbstractPropertySource<BeanGenerator>
Reads properties specific to BeanGenerator and returns an initialized object of that type.
  • Field Details

  • Constructor Details

    • 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, 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 Details

    • initialize

      public void initialize()
      Description copied from interface: PropertySource
      Initializes the object for this property source.
    • getProperties

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