Class LazyTestResourcesPropertySourceLoader
java.lang.Object
io.micronaut.testresources.core.LazyTestResourcesPropertySourceLoader
- All Implemented Interfaces:
io.micronaut.context.env.PropertySourceLoader, io.micronaut.context.env.PropertySourceLocator, io.micronaut.context.env.PropertySourceReader, io.micronaut.core.util.Toggleable
- Direct Known Subclasses:
EmbeddedTestResourcesPropertySourceLoader, TestResourcesClientPropertySourceLoader
public class LazyTestResourcesPropertySourceLoader
extends Object
implements io.micronaut.context.env.PropertySourceLoader
A property source loader which works in conjunction with the
LazyTestResourcesExpressionResolver
in order to resolve properties lazily.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final PropertyExpressionProducerOptional<io.micronaut.context.env.PropertySource> Optional<io.micronaut.context.env.PropertySource> loadEnv(String resourceName, io.micronaut.core.io.ResourceLoader resourceLoader, io.micronaut.context.env.ActiveEnvironment activeEnvironment) read(String name, InputStream input) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.context.env.PropertySourceLoader
loadMethods inherited from interface io.micronaut.context.env.PropertySourceReader
getExtensions, readMethods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
-
Constructor Details
-
LazyTestResourcesPropertySourceLoader
-
-
Method Details
-
getProducer
-
load
-
loadEnv
-
read
- Specified by:
readin interfaceio.micronaut.context.env.PropertySourceReader
-