Package io.micronaut.context.env
Class ConstantPropertySources
- java.lang.Object
-
- io.micronaut.context.env.ConstantPropertySources
-
@Internal public final class ConstantPropertySources extends java.lang.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 Summary
Constructors Constructor Description ConstantPropertySources(java.util.List<PropertySource> sources)
-
-
-
Constructor Detail
-
ConstantPropertySources
public ConstantPropertySources(java.util.List<PropertySource> sources)
-
-