Class BeanGeneratorPropertySource

    • 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,
                                           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()
        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