Class PropertySource


  • public class PropertySource
    extends Object
    Simple plain text serializable encapsulation of a named source of key-value pairs. Basically a DTO for PropertySource, but also applicable outside the domain of a Spring application.
    Author:
    Dave Syer
    • Constructor Detail

      • PropertySource

        public PropertySource​(String name,
                              Map<?,​?> source)
      • PropertySource

        public PropertySource​(String name,
                              Map<?,​?> source,
                              org.springframework.core.env.PropertySource<?> originalPropertySource)
    • Method Detail

      • getName

        public String getName()
      • getSource

        public Map<?,​?> getSource()
      • getOriginalPropertySource

        public org.springframework.core.env.PropertySource<?> getOriginalPropertySource()