Class ConstantPropertySources

java.lang.Object
io.micronaut.context.env.ConstantPropertySources

@Internal public final class ConstantPropertySources extends Object
An optimization class which is used to register property sources statically. This is typically used when converting "dynamic" property sources like YAML files into "static" property sources (Java configuration) at build time. The list of static property sources is injected via this class.
Since:
3.2.0
  • Constructor Details