Package org.openjdk.jmc.common
Interface IMCModule
-
public interface IMCModuleRepresents a Java Module System module.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMCClassLoadergetClassLoader()Returns the class loader where this module is loaded.StringgetLocation()Returns the location of this module.StringgetName()Returns the module name.StringgetVersion()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
-
-