Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.22 KB

framework-aspectj_weaver_agent.md

File metadata and controls

33 lines (25 loc) · 1.22 KB

AspectJ Weaver Agent Framework

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>
Tags are printed to standard output by the buildpack detect script

Configuration

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.

Example

Disable the AspectJ weaver agent:

JBP_CONFIG_ASPECTJ_WEAVER_AGENT: '{enabled: false}'