Class LazyTestResourcesExpressionResolver
java.lang.Object
io.micronaut.testresources.core.LazyTestResourcesExpressionResolver
- All Implemented Interfaces:
io.micronaut.context.env.PropertyExpressionResolver, AutoCloseable
- Direct Known Subclasses:
EmbeddedTestResourcesPropertyExpressionResolver, TestResourcesClientPropertyExpressionResolver
public class LazyTestResourcesExpressionResolver
extends Object
implements io.micronaut.context.env.PropertyExpressionResolver, AutoCloseable
A property expression resolver which delegates to another
resolver if the property expression to be resolved starts
with the expected prefix. The delegate is called with the
prefix removed.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLazyTestResourcesExpressionResolver(io.micronaut.context.env.PropertyExpressionResolver delegate) -
Method Summary
-
Field Details
-
PLACEHOLDER_PREFIX
- See Also:
-
-
Constructor Details
-
LazyTestResourcesExpressionResolver
public LazyTestResourcesExpressionResolver(io.micronaut.context.env.PropertyExpressionResolver delegate)
-
-
Method Details
-
resolve
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-