aj
command-line launcher for basic load-time weaving
aj
Options
arg...
Description
The
aj command runs Java programs in Java 1.4 or
later by setting up
WeavingURLClassLoader as the system class
loader, to do load-time bytecode weaving.
The arguments are the same as those used to launch the Java program.
Users should define the environment variables
CLASSPATH and
ASPECTPATH.
For more information and alternatives for load-time weaving,
see .
Examples
A simple example
Use ajc to build a library, then weave at load time