# Uses of Class
org.jboss.modules.ModuleSpec

Packages that use ModuleSpec
Package
Description
org.jboss.modules
The primary JBoss Modules API.
org.jboss.modules.xml

## Uses of ModuleSpec in org.jboss.modules

Subclasses of ModuleSpec in org.jboss.modules
Modifier and Type
Class
Description
`final class`
`AliasModuleSpec`
A module specification for a module alias.
`final class`
`ConcreteModuleSpec`
A `Module` specification for a concrete module implementation.
Methods in org.jboss.modules that return ModuleSpec
Modifier and Type
Method
Description
`ModuleSpec`
ModuleSpec.AliasBuilder.`create()`
Create the module specification from this builder.
`ModuleSpec`
ModuleSpec.Builder.`create()`
Create the module specification from this builder.
`protected ModuleSpec`
ClassifyingModuleLoader.`findModule(String name)`
Find a Module's specification in this ModuleLoader by its name.
`ModuleSpec`
FileSystemClassPathModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`ModuleSpec`
JarModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
Deprecated.
`ModuleSpec`
JDKModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`ModuleSpec`
LocalModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`default ModuleSpec`
ModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
Find a module specification for the given name.
`default ModuleSpec`
ModuleFinder.`findModule(ModuleIdentifier moduleIdentifier, ModuleLoader delegateLoader)`
Deprecated, for removal: This API element is subject to removal in a future version.
Implement `ModuleFinder.findModule(String, ModuleLoader)` instead.
`protected ModuleSpec`
ModuleLoader.`findModule(String name)`
Find a Module's specification in this ModuleLoader by its name.
`protected ModuleSpec`
ModuleLoader.`findModule(ModuleIdentifier moduleIdentifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleLoader.findModule(String)` instead.
`ModuleSpec`
ResourceLoaderModuleFinder.`findModule(String name, ModuleLoader delegateLoader)`
`static ModuleSpec`
LocalModuleFinder.`parseModuleXmlFile(String name, ModuleLoader delegateLoader, File... roots)`
Parse a `module.xml` file and return the corresponding module specification.
`static ModuleSpec`
LocalModuleFinder.`parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `LocalModuleFinder.parseModuleXmlFile(String, ModuleLoader, File...)` instead.

## Uses of ModuleSpec in org.jboss.modules.xml

Methods in org.jboss.modules.xml that return ModuleSpec
Modifier and Type
Method
Description
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, File root, File moduleInfoFile)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ModuleLoader, String, File, File)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ResourceRootFactory, String, InputStream, String, ModuleLoader, String)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName)`
Parse a `module.xml` file.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)`
Deprecated.
Use `ModuleXmlParser.parseModuleXml(ResourceRootFactory, MavenResolver, String, InputStream, String, ModuleLoader, String)` instead.
`static ModuleSpec`
ModuleXmlParser.`parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile)`
Parse a `module.xml` file.