Package org.jboss.modules.management
Class DependencyInfo
java.lang.Object
org.jboss.modules.management.DependencyInfo
Information describing a dependency.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyInfo
(String dependencyType, String exportFilter, String importFilter, ModuleLoaderMXBean moduleLoader, String moduleName, boolean optional, String localLoader, List<String> localLoaderPaths) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the dependency type class name.Get the export filter, as a string.Get the import filter, as a string.Get the local loader type class name.Get the list of paths made available by the local loader.Get the module loader MXBean of this dependency.Get the module name, as a string.boolean
Determine whether this is an optional dependency.
-
Constructor Details
-
DependencyInfo
@ConstructorProperties({"dependencyType","exportFilter","importFilter","moduleLoader","moduleName","optional","localLoader","localLoaderPaths"}) public DependencyInfo(String dependencyType, String exportFilter, String importFilter, ModuleLoaderMXBean moduleLoader, String moduleName, boolean optional, String localLoader, List<String> localLoaderPaths) Construct a new instance.- Parameters:
dependencyType
- the dependency type class nameexportFilter
- the export filter, as a stringimportFilter
- the import filter, as a stringmoduleLoader
- the module loader MXBean of this dependencymoduleName
- the module name, as a stringoptional
-true
if this is an optional dependencylocalLoader
- the local loader type class namelocalLoaderPaths
- the list of paths made available by the local loader
-
-
Method Details
-
getDependencyType
Get the dependency type class name.- Returns:
- the dependency type class name
-
getExportFilter
Get the export filter, as a string.- Returns:
- the export filter, as a string
-
getImportFilter
Get the import filter, as a string.- Returns:
- the import filter, as a string
-
getModuleLoader
Get the module loader MXBean of this dependency.- Returns:
- the module loader MXBean of this dependency
-
getModuleName
Get the module name, as a string.- Returns:
- the module name, as a string
-
isOptional
public boolean isOptional()Determine whether this is an optional dependency.- Returns:
true
if this is an optional dependency
-
getLocalLoader
Get the local loader type class name.- Returns:
- the local loader type class name
-
getLocalLoaderPaths
Get the list of paths made available by the local loader.- Returns:
- the list of paths made available by the local loader
-