-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to list running modules and their dependencies #28
Comments
@dmlloyd does JBoss Modules already expose any MBeans? |
Yes, it does, under jboss.modules I believe. |
@vietj: is that enough to get started? |
The static method : java.lang.management.ManagementFactory.getPlatformMBeanServer() should do the work . |
Beside that you can also access the java.lang.Instrument object in a command too that gives you access to all the Class known by the JVM (hence the classloader as well). |
Moving to M6, this will be part of the metadata API anyways. |
Not part, but required. |
We're thinking of adding a CRaSH (http://www.crashub.org/) module to be able to attach to a running Ceylon VM (JVM) and list the available modules and their dependencies, but we need to find a way to get that list from a JVM agent. JMX, static somewhere, whatever.
@alesj: any idea? Do we already have something? This might be reusable for JBoss Modules beyond just Ceylon too.
The text was updated successfully, but these errors were encountered: