|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleLoaderMXBean
An MXBean for getting runtime information about a module loader.
Method Summary | |
---|---|
String |
dumpAllModuleInformation()
Dump all information for all modules as a string. |
String |
dumpModuleInformation(String name)
Dump all information for a single module as a string. |
List<DependencyInfo> |
getDependencies(String name)
Get the dependencies of the named module. |
int |
getLoadedModuleCount()
Get the number of modules currently loaded. |
ModuleInfo |
getModuleDescription(String name)
Get the complete description of this module. |
SortedMap<String,List<String>> |
getModulePathsInfo(String name,
boolean exports)
Get a paths map for a given module. |
List<ResourceLoaderInfo> |
getResourceLoaders(String name)
Get the resource loaders of the named module. |
List<String> |
queryLoadedModuleNames()
Obtain a list of the current module names. |
void |
refreshResourceLoaders(String name)
Attempt to refresh the resource loaders of the given module. |
void |
relink(String name)
Attempt to relink the given module. |
boolean |
unloadModule(String name)
Attempt to unload a module from this module loader. |
Method Detail |
---|
int getLoadedModuleCount()
List<String> queryLoadedModuleNames()
String dumpModuleInformation(String name)
name
- the module name
String dumpAllModuleInformation()
boolean unloadModule(String name)
name
- the string form of the module identifier to unload
true
if the module was unloadedvoid refreshResourceLoaders(String name)
name
- the name of the module to refreshvoid relink(String name)
name
- the name of the module to relinkList<DependencyInfo> getDependencies(String name)
name
- the module name
List<ResourceLoaderInfo> getResourceLoaders(String name)
name
- the module name
ModuleInfo getModuleDescription(String name)
name
- the module name
SortedMap<String,List<String>> getModulePathsInfo(String name, boolean exports)
name
- the module nameexports
- true
for the exported paths, false
for all paths
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |