Class MapPropertySource

java.lang.Object
io.micronaut.context.env.MapPropertySource
All Implemented Interfaces:
PropertySource, Ordered, Iterable<String>
Direct Known Subclasses:
CommandLinePropertySource, EnvironmentPropertySource, KubernetesEnvironmentPropertySource, SystemPropertiesPropertySource

public class MapPropertySource extends Object implements PropertySource
A PropertySource that uses a map.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • MapPropertySource

      public MapPropertySource(String name, Map map)
      Creates a map property source.
      Parameters:
      name - The name of the property source
      map - The map
  • Method Details