- java.lang.Object
-
- org.jboss.modules.management.DependencyInfo
-
public final class DependencyInfo extends Object
Information describing a dependency.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description DependencyInfo(String dependencyType, String exportFilter, String importFilter, ModuleLoaderMXBean moduleLoader, String moduleName, boolean optional, String localLoader, List<String> localLoaderPaths)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDependencyType()Get the dependency type class name.StringgetExportFilter()Get the export filter, as a string.StringgetImportFilter()Get the import filter, as a string.StringgetLocalLoader()Get the local loader type class name.List<String>getLocalLoaderPaths()Get the list of paths made available by the local loader.ModuleLoaderMXBeangetModuleLoader()Get the module loader MXBean of this dependency.StringgetModuleName()Get the module name, as a string.booleanisOptional()Determine whether this is an optional dependency.
-
-
-
Constructor Detail
-
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-trueif this is an optional dependencylocalLoader- the local loader type class namelocalLoaderPaths- the list of paths made available by the local loader
-
-
Method Detail
-
getDependencyType
public String getDependencyType()
Get the dependency type class name.- Returns:
- the dependency type class name
-
getExportFilter
public String getExportFilter()
Get the export filter, as a string.- Returns:
- the export filter, as a string
-
getImportFilter
public String getImportFilter()
Get the import filter, as a string.- Returns:
- the import filter, as a string
-
getModuleLoader
public ModuleLoaderMXBean getModuleLoader()
Get the module loader MXBean of this dependency.- Returns:
- the module loader MXBean of this dependency
-
getModuleName
public String 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:
trueif this is an optional dependency
-
getLocalLoader
public String getLocalLoader()
Get the local loader type class name.- Returns:
- the local loader type class name
-
-