• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help on WebLogic ClassLoaders

 
Amol Khanapurkar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I intend to write a Byte Code Instrumentation (BCI) program which will profile all web application modules in WebLogic. I will be using java.lang.instrument package in Java 1.5. More specifically I will be using transform() method of my class which will implement ClassFileTransformer interface. The first argument of transform() method is the name of the ClassLoader whose "loaded classes" I wish to hook and inject my BCI code.

To give an example, in Tomcat if I hook the org.apache.catalina.loader.WebappClassLoader in Tomcat 5.x I can BCI all classes loaded by that ClassLoader. Similarly, I need to know name of WebLogic Class Loader which loads all Web application modules or atleast a way to know how I can proceed to finding it out.

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic