Improve company productivity with a Business Account.Sign Up

x
?
Solved

Get a List of All Class Loaders in a JVM

Posted on 2004-09-23
1
Medium Priority
?
250 Views
Last Modified: 2010-05-18
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.
0
Comment
Question by:mrigank
1 Comment
 
LVL 36

Accepted Solution

by:
girionis earned 250 total points
ID: 12131685
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

595 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question