Package org.openjdk.jmc.common
Interface IMCModule
public interface IMCModule
Represents a Java Module System module.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class loader where this module is loaded.Returns the location of this module.getName()
Returns the module name.Returns the version of this module.
-
Method Details
-
getName
String getName()Returns the module name.An example is "java.base".
- Returns:
- module name
-
getVersion
String getVersion()Returns the version of this module.An example is "9".
- Returns:
- module version
-
getLocation
String getLocation()Returns the location of this module.An example is "jrt:/java.base".
- Returns:
- module location
-
getClassLoader
IMCClassLoader getClassLoader()Returns the class loader where this module is loaded.- Returns:
- module class loader
-