I have an implementation for that in JBossProfiler. I know it works but you have to provide all the pointcuts.
You could also use JBossProfiler JVMPI implementation (native code).
AOP version also produces the same log.
If you have time to tinker arround with my code, at least you would have a tool to analyze the data.
Please do point me to the relevant code. I am also very curious to see what kind of interceptors you used. If they work just the same, I'd probably prefer to use them. I looked through the files included in the RC1 distribution, but couldn't find any jboss-aop XML pointcut descriptors.
Or if you already dump the information I need in the log produced from the profiler, I could definitely use that. Thanks.
Let me add the following: suppose I am only interested in collecting all the classes used at runtime for a given Web app. Is there a way to do that?
AOP seemed like the way to go, but I am sure there are other mechanisms like playing classloader games, etc.