Package org.jboss.modules.management
Class ModuleInfo
- java.lang.Object
-
- org.jboss.modules.management.ModuleInfo
-
public final class ModuleInfo extends java.lang.ObjectManagement information about a module instance.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ModuleInfo(java.lang.String name, ModuleLoaderMXBean moduleLoader, java.util.List<DependencyInfo> dependencies, java.util.List<ResourceLoaderInfo> resourceLoaders, java.lang.String mainClass, java.lang.String classLoader, java.lang.String fallbackLoader)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassLoader()Get the class loader (as a string).java.util.List<DependencyInfo>getDependencies()Get the dependency information list.java.lang.StringgetFallbackLoader()Get the fallback loader (as a string).java.lang.StringgetMainClass()Get the main class name.ModuleLoaderMXBeangetModuleLoader()Get the associated module loader MXBean.java.lang.StringgetName()Get the name of the corresponding module.java.util.List<ResourceLoaderInfo>getResourceLoaders()Get the resource loader information list.
-
-
-
Constructor Detail
-
ModuleInfo
@ConstructorProperties({"name","moduleLoader","dependencies","resourceLoaders","mainClass","classLoader","fallbackLoader"}) public ModuleInfo(java.lang.String name, ModuleLoaderMXBean moduleLoader, java.util.List<DependencyInfo> dependencies, java.util.List<ResourceLoaderInfo> resourceLoaders, java.lang.String mainClass, java.lang.String classLoader, java.lang.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 Detail
-
getName
public java.lang.String getName()
Get the name of the corresponding module.- Returns:
- the name of the corresponding module
-
getModuleLoader
public ModuleLoaderMXBean getModuleLoader()
Get the associated module loader MXBean.- Returns:
- the associated module loader MXBean
-
getDependencies
public java.util.List<DependencyInfo> getDependencies()
Get the dependency information list.- Returns:
- the dependency information list
-
getResourceLoaders
public java.util.List<ResourceLoaderInfo> getResourceLoaders()
Get the resource loader information list.- Returns:
- the resource loader information list
-
getMainClass
public java.lang.String getMainClass()
Get the main class name.- Returns:
- the main class name
-
getClassLoader
public java.lang.String getClassLoader()
Get the class loader (as a string).- Returns:
- the class loader (as a string)
-
getFallbackLoader
public java.lang.String getFallbackLoader()
Get the fallback loader (as a string).- Returns:
- the fallback loader (as a string)
-
-