Top Description Fields Constructors Methods
org.jboss.modules.management

public final Class ModuleInfo

extends Object
Class Inheritance
Imports
java.beans.ConstructorProperties, java.util.List

Management information about a module instance.
Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private final String
private final List<DependencyInfo>
private final String
private final String
private final ModuleLoaderMXBean
private final String
private final List<ResourceLoaderInfo>

Constructor Summary

AccessConstructor and Description
public
ModuleInfo(final String
the module name
name
,
final ModuleLoaderMXBean
the module loader
moduleLoader
,
final List<DependencyInfo>
the dependencies list
dependencies
,
final List<ResourceLoaderInfo>
the resource loaders list
resourceLoaders
,
final String
the main class name
mainClass
,
final String
the class loader
classLoader
,
final String
the fallback loader
fallbackLoader
)

Construct a new instance.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the class loader (as a string)
getClassLoader
()

Get the class loader (as a string).

public List<DependencyInfo>

Returns:

the dependency information list
getDependencies
()

Get the dependency information list.

public String

Returns:

the fallback loader (as a string)
getFallbackLoader
()

Get the fallback loader (as a string).

public String

Returns:

the main class name
getMainClass
()

Get the main class name.

public ModuleLoaderMXBean

Returns:

the associated module loader MXBean
getModuleLoader
()

Get the associated module loader MXBean.

public String

Returns:

the name of the corresponding module
getName
()

Get the name of the corresponding module.

public List<ResourceLoaderInfo>

Returns:

the resource loader information list
getResourceLoaders
()

Get the resource loader information list.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classLoaderback to summary
private final String classLoader
dependenciesback to summary
private final List<DependencyInfo> dependencies
fallbackLoaderback to summary
private final String fallbackLoader
mainClassback to summary
private final String mainClass
moduleLoaderback to summary
private final ModuleLoaderMXBean moduleLoader
nameback to summary
private final String name
resourceLoadersback to summary
private final List<ResourceLoaderInfo> resourceLoaders

Constructor Detail

ModuleInfoback to summary
public ModuleInfo(final String name, final ModuleLoaderMXBean moduleLoader, final List<DependencyInfo> dependencies, final List<ResourceLoaderInfo> resourceLoaders, final String mainClass, final String classLoader, final String fallbackLoader)

Construct a new instance.

Parameters
name:String

the module name

moduleLoader:ModuleLoaderMXBean

the module loader

dependencies:List<DependencyInfo>

the dependencies list

resourceLoaders:List<ResourceLoaderInfo>

the resource loaders list

mainClass:String

the main class name

classLoader:String

the class loader

fallbackLoader:String

the fallback loader

Annotations
@ConstructorProperties:name, moduleLoader, dependencies, resourceLoaders, mainClass, classLoader, fallbackLoader

Method Detail

getClassLoaderback to summary
public String getClassLoader()

Get the class loader (as a string).

Returns:String

the class loader (as a string)

getDependenciesback to summary
public List<DependencyInfo> getDependencies()

Get the dependency information list.

Returns:List<DependencyInfo>

the dependency information list

getFallbackLoaderback to summary
public String getFallbackLoader()

Get the fallback loader (as a string).

Returns:String

the fallback loader (as a string)

getMainClassback to summary
public String getMainClass()

Get the main class name.

Returns:String

the main class name

getModuleLoaderback to summary
public ModuleLoaderMXBean getModuleLoader()

Get the associated module loader MXBean.

Returns:ModuleLoaderMXBean

the associated module loader MXBean

getNameback to summary
public String getName()

Get the name of the corresponding module.

Returns:String

the name of the corresponding module

getResourceLoadersback to summary
public List<ResourceLoaderInfo> getResourceLoaders()

Get the resource loader information list.

Returns:List<ResourceLoaderInfo>

the resource loader information list