public final class ModuleInfo extends Object
Constructor and Description |
---|
ModuleInfo(String name,
ModuleLoaderMXBean moduleLoader,
List<DependencyInfo> dependencies,
List<ResourceLoaderInfo> resourceLoaders,
String mainClass,
String classLoader,
String fallbackLoader)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassLoader()
Get the class loader (as a string).
|
List<DependencyInfo> |
getDependencies()
Get the dependency information list.
|
String |
getFallbackLoader()
Get the fallback loader (as a string).
|
String |
getMainClass()
Get the main class name.
|
ModuleLoaderMXBean |
getModuleLoader()
Get the associated module loader MXBean.
|
String |
getName()
Get the name of the corresponding module.
|
List<ResourceLoaderInfo> |
getResourceLoaders()
Get the resource loader information list.
|
@ConstructorProperties(value={"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)
name
- the module namemoduleLoader
- the module loaderdependencies
- the dependencies listresourceLoaders
- the resource loaders listmainClass
- the main class nameclassLoader
- the class loaderfallbackLoader
- the fallback loaderpublic String getName()
public ModuleLoaderMXBean getModuleLoader()
public List<DependencyInfo> getDependencies()
public List<ResourceLoaderInfo> getResourceLoaders()
public String getMainClass()
public String getClassLoader()
public String getFallbackLoader()
Copyright © 2017 JBoss by Red Hat. All rights reserved.