public interface PropertyExpressionProducer
| Modifier and Type | Method and Description |
|---|---|
default java.util.List<java.lang.String> |
getPropertyEntries()
The list of property entries that the producer needs to know
about in order to provide the list of keys that it can resolve.
|
java.util.List<java.lang.String> |
produceKeys(io.micronaut.core.io.ResourceLoader resourceLoader,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> propertyEntries,
java.util.Map<java.lang.String,java.lang.Object> testResourcesConfig)
Returns the list of keys the resolver is able to generate.
|
default java.util.List<java.lang.String> getPropertyEntries()
java.util.List<java.lang.String> produceKeys(io.micronaut.core.io.ResourceLoader resourceLoader,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> propertyEntries,
java.util.Map<java.lang.String,java.lang.Object> testResourcesConfig)
getPropertyEntries() method. For example, if the getPropertyEntries()
method returns a single-entry list with "datasources", then the map will
contain a single entry with "datasources" as the key, and the datasource
names as the value. The producer can then generate a list of keys for each
datasource name.resourceLoader - the resource loaderpropertyEntries - the map of resolved property entriestestResourcesConfig - the test resources configuration