public final class ModuleInfo
extends java.lang.Object
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.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getClassLoader() |
Get the class loader (as a string).
|
java.util.List<DependencyInfo> |
getDependencies() |
Get the dependency information list.
|
java.lang.String |
getFallbackLoader() |
Get the fallback loader (as a string).
|
java.lang.String |
getMainClass() |
Get the main class name.
|
ModuleLoaderMXBean |
getModuleLoader() |
Get the associated module loader MXBean.
|
java.lang.String |
getName() |
Get the name of the corresponding module.
|
java.util.List<ResourceLoaderInfo> |
getResourceLoaders() |
Get the resource loader information list.
|
@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)
name
- the module namemoduleLoader
- the module loaderdependencies
- the dependencies listresourceLoaders
- the resource loaders listmainClass
- the main class nameclassLoader
- the class loaderfallbackLoader
- the fallback loaderpublic java.lang.String getName()
public ModuleLoaderMXBean getModuleLoader()
public java.util.List<DependencyInfo> getDependencies()
public java.util.List<ResourceLoaderInfo> getResourceLoaders()
public java.lang.String getMainClass()
public java.lang.String getClassLoader()
public java.lang.String getFallbackLoader()
Copyright © 2022 JBoss by Red Hat. All rights reserved.