The AspectJ Weaver Agent Framework configures the AspectJ Runtime Weaving Agent at runtime.
| Detection Criterion | aspectjweaver-*.jar existing and BOOT-INF/classes/META-INF/aop.xml, BOOT-INF/classes/org/aspectj/aop.xml, META-INF/aop.xml, or org/aspectj/aop.xml existing. |
| Tags | aspectj-weaver-agent=<version> |
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to Configuration and Extension.
The framework can be configured by setting the JBP_CONFIG_ASPECTJ_WEAVER_AGENT environment variable. The value must be valid inline YAML.
| Name | Description |
|---|---|
enabled |
Whether to enable the AspectJ Runtime Weaving agent. Defaults to true. |
Disable the AspectJ weaver agent:
JBP_CONFIG_ASPECTJ_WEAVER_AGENT: '{enabled: false}'