Package org.openjdk.jmc.common
Interface IMCModule
-
public interface IMCModule
Represents a Java Module System module.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMCClassLoader
getClassLoader()
Returns the class loader where this module is loaded.String
getLocation()
Returns the location of this module.String
getName()
Returns the module name.String
getVersion()
Returns the version of this module.
-
-
-
Method Detail
-
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
-
-