Get a List of All Class Loaders in a JVM

Hi ,

My requirement is as follows
1) I want to get a list of all ClassLoaders that are presnt in a JVM.
2) I want to have a list of all the classes that belong to a particular Class Loader.

How should i go about doing it ??

Thanks,
Mrigank.
LVL 5
mrigankAsked:
Who is Participating?
 
girionisCommented:
I do not think you can do it but this might give you some tips: http://www.javaworld.com/javaworld/javaqa/2003-07/02-qa-0725-classsrc2.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.