Re: [aspectwerkz-dev] tracing to the console
"Alex" <alex-he/e8N7AIe/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <00ca01c46903$b7f26130$647ba8c0@maison> |
The AOP container is designed to avoid to hook directly in the classloader class. I don't want to hook in classloaders. It was already complex to enable class load time weaving. We have a remote proxy framework in AW (connectivity package), but as you said, JMX stuff might be far better off course (especially to focus for Java "5"). This is in the roadmap since a while, I almost forgot ! I will stick to a basic JSP then to allow everyone to troubleshoot / understand better the AOP container and class loader things. Alex ----- Original Message ----- From: "eu" <eu-E/[email protected]> To: <[email protected]> Sent: Tuesday, July 13, 2004 7:57 PM Subject: Re: [aspectwerkz-dev] tracing to the console > Alex wrote: > > Isn't there an RMI server that allows to connecto to AW runtime. > > If yes, than this feature could be implemented as an advice to > classloader constructors (not sure if there will be any instrumentation > issues) which will publish results to that RMI interface (or perhaps > JMX). Then interested party can implement nice console/plugin for their > favorite tools. > > regards, > Eugene > > > > > Right now I am printing the classloader.hashCode. > > Tomcat classlaoder.toString was returning to much information so I had to > > stick to hashCode > > I d like to avoid some runtime check on the classloader instance > > > > In my mind, I d like to have a (HTML / Swing ?) based console that can > > show the classloader hierarchy, the system hierarchy etc, and could have > > some extension point to provide some renderer specific to a target > > platform (tomcat, wls etc) for the classloader (f.e. show the name of the > > app, instead of the classloader info). I have a proto that is a WLS web > > based console right now, but not yet QAed for 1.0b1. > > > > I am wondering if it would be worth the effor to do this console in a > > Swing way and use the remote proxy server we already have there. > > Please vote / comment on that if this is of interest for you (I am just > > bored with html based stuff.. so if we can avoid a silly generic JSP - > > although this one can be done in 5 minute and hacked at your convenience). > > > > Alex > > > > > > > > ----- Original Message ----- > > > >>Hi, > >> > >> I noticed that AW 1.0 beta1 is dumping some trace information about > >>classloaders to the console. It will be great to see URL's handled by > >>the classloader instance if this instance extends URLClassLoader (there > >>is a method called getURLs()). > >> > >> Thank you. > >> > >> Eugene > >