Configuration Reference
Version:2.2.0
Standard Optimizers
Warning
|
These are not configuration properties to add in your regular Micronaut configuration files,but properties to be added to the Micronaut AOT configuration, via your build plugin.Please refer to the appropriate Maven or Gradle plugin for more details. |
Module cached.environment
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Caches environment property values: environment properties will be deemed immutable after application startup. optimization |
|
Module deduce.environment
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Deduces the environment at build time instead of runtime optimization |
|
Module known.missing.types
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Checks of existence of some types at build time instead of runtime optimization |
|
|
A list of types that the AOT analyzer needs to check for existence (comma separated) |
|
Module logback.xml.to.java
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Replaces logback.xml with a pure Java configuration (Experimental) optimization |
|
Module netty.properties
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Defines some Netty system properties when starting the application which optimize startup times. optimization |
|
|
The machine id used by Netty. By default, generates a random value at runtime. Set it to a fixed MAC address to override, or use the value 'netty' to disable the optimization and get it at runtime. |
|
|
The process id to use for Netty. Defaults to a random PID at runtime. Set it to a fixed value (not recommended) or use the value 'netty' to disable the optimization and get it at runtime. |
|
Module precompute.environment.properties
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Precomputes Micronaut configuration property keys from the current environment variables optimization |
|
Module scan.reactive.types
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Scans reactive types at build time instead of runtime optimization |
|
Module serviceloading.jit
This module is available in JIT mode.
Property |
Description |
Example value |
|
Enables the Scans for service types ahead-of-time, avoiding classpath scanning at startup optimization |
|
|
The list of service types to be scanned (comma separated) |
|
|
A list of implementation types which shouldn’t be included in the final application (comma separated) |
|
|
A list of implementation types to include even if they don’t match bean requirements (comma separated) |
|
|
The list of environment names that this application can possibly use at runtime. |
|
Module sealed.property.source
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Precomputes property sources at build time optimization |
|
Module graalvm.config
This module is available in native mode.
Property |
Description |
Example value |
|
Enables the Generates GraalVM configuration files required to load the AOT optimizations optimization |
|
|
The list of service types to be scanned (comma separated) |
|
Module serviceloading.native
This module is available in native mode.
Property |
Description |
Example value |
|
Enables the Scans for service types ahead-of-time, avoiding classpath scanning at startup optimization |
|
|
The list of service types to be scanned (comma separated) |
|
|
A list of implementation types which shouldn’t be included in the final application (comma separated) |
|
|
A list of implementation types to include even if they don’t match bean requirements (comma separated) |
|
|
The list of environment names that this application can possibly use at runtime. |
|