Matthew Webster wrote On 10/11/06 09:44,:
I guess that my main issue with the AOP docs as they stand. Once you
get beyond the obvious there isn't much help. Your proposal a litle
tricky because the custom classloader is embedded in the directory tree
of the app. In any event, since I am using this primarily for tracing,
I can live with the (potentially) slow startup due to total load-time
The reason you have not found any
documentation is because what you are trying to do is unusual. You say
you are using a custom class loader to define dynamically generated
If you only want to weave these classes then only add the aop.xml
the aspect you want to use to the CLASSPATH of the custom class loader.
When you use the agent all other class loaders will also attempt to
or reweave the classes they define but no aop.xml configuration will be
found. The weaving adaptor for the loader will be disabled and the
woven classes used straight off disk.