Class CachedEnvironmentSourceGenerator
java.lang.Object
io.micronaut.aot.core.codegen.AbstractCodeGenerator
io.micronaut.aot.std.sourcegen.CachedEnvironmentSourceGenerator
- All Implemented Interfaces:
AOTCodeGenerator
@Deprecated(since="3.1.1")
public class CachedEnvironmentSourceGenerator
extends AbstractCodeGenerator
Deprecated.
Generates the code used to enable environment variables and system
properties caching in Micronaut.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCodeGenerator
simpleNameOf, staticMethod, staticMethodBuilder
-
Field Details
-
ID
-
DESCRIPTION
-
-
Constructor Details
-
CachedEnvironmentSourceGenerator
public CachedEnvironmentSourceGenerator()Deprecated.
-
-
Method Details
-
generate
Deprecated.
-
CachedEnvironmentreads the caching flag when it is initialized, which happens before the generated application context configurer is loaded. In native images the flag is set at image build time, so environment variables and system properties are still frozen at startup there.