java.lang.Object
org.jboss.modules.management.ModuleInfo
Management information about a module instance.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionModuleInfo
(String name, ModuleLoaderMXBean moduleLoader, List<DependencyInfo> dependencies, List<ResourceLoaderInfo> resourceLoaders, String mainClass, String classLoader, String fallbackLoader) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the class loader (as a string).Get the dependency information list.Get the fallback loader (as a string).Get the main class name.Get the associated module loader MXBean.getName()
Get the name of the corresponding module.Get the resource loader information list.
-
Constructor Details
-
ModuleInfo
@ConstructorProperties({"name","moduleLoader","dependencies","resourceLoaders","mainClass","classLoader","fallbackLoader"}) public ModuleInfo(String name, ModuleLoaderMXBean moduleLoader, List<DependencyInfo> dependencies, List<ResourceLoaderInfo> resourceLoaders, String mainClass, String classLoader, String fallbackLoader) Construct a new instance.- Parameters:
name
- the module namemoduleLoader
- the module loaderdependencies
- the dependencies listresourceLoaders
- the resource loaders listmainClass
- the main class nameclassLoader
- the class loaderfallbackLoader
- the fallback loader
-
-
Method Details
-
getName
Get the name of the corresponding module.- Returns:
- the name of the corresponding module
-
getModuleLoader
Get the associated module loader MXBean.- Returns:
- the associated module loader MXBean
-
getDependencies
Get the dependency information list.- Returns:
- the dependency information list
-
getResourceLoaders
Get the resource loader information list.- Returns:
- the resource loader information list
-
getMainClass
Get the main class name.- Returns:
- the main class name
-
getClassLoader
Get the class loader (as a string).- Returns:
- the class loader (as a string)
-
getFallbackLoader
Get the fallback loader (as a string).- Returns:
- the fallback loader (as a string)
-