A classloader that can be installed as the system classloader
to enable aop translation based on files in META-INF/jboss-aop.xml
in the classpath.
You will need the following jars in your classpath (log4j.jar is optional):
- jboss-aop.jar
- javassist.jar
- jboss-common.jar
Start the virtual machine with something like the following command:
java -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader my.Main
Implementation Detail: All access to non-jre classes must be done through reflection the
classes must be loaded using the loadLocally method. |