# Uses of Class
org.jboss.modules.DependencySpec

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

## Uses of DependencySpec in org.jboss.modules

Subclasses of DependencySpec in org.jboss.modules
Modifier and Type
Class
Description
`final class`
`ModuleDependencySpec`
A dependency specification on a module.
Fields in org.jboss.modules declared as DependencySpec
Modifier and Type
Field
Description
`static final DependencySpec`
DependencySpec.`OWN_DEPENDENCY`
A constant dependency which always represents a module's own content.
Methods in org.jboss.modules that return DependencySpec
Modifier and Type
Method
Description
`abstract DependencySpec`
DependencySpecBuilder.`build()`
Construct the dependency specification.
`DependencySpec`
LocalDependencySpecBuilder.`build()`
`static DependencySpec`
DependencySpec.`createClassLoaderDependencySpec(ClassLoader classLoader, Set<String> loaderPaths)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createClassLoaderDependencySpec(ClassLoader classLoader, Set<String> loaderPaths, boolean export)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createClassLoaderDependencySpec(PathFilter importFilter, PathFilter exportFilter, ClassLoader classLoader, Set<String> loaderPaths)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec()`
Create a dependency on the current module's local resources.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, LocalLoader localLoader, Set<String> loaderPaths)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, LocalLoader localLoader, Set<String> loaderPaths)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths, boolean export)`
Deprecated.
Use `LocalDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(String name)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(String name, boolean export)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(String name, boolean export, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter exportFilter, String name, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, String name, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, String name, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter exportFilter, ModuleIdentifier identifier, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, String name, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleIdentifier identifier)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleIdentifier identifier, boolean export)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleIdentifier identifier, boolean export, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleLoader moduleLoader, String name, boolean export)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleLoader moduleLoader, String name, boolean export, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export, boolean optional)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `ModuleDependencySpecBuilder` instead.
`static DependencySpec`
DependencySpec.`createSystemDependencySpec(Set<String> loaderPaths)`
Create a system dependency.
`static DependencySpec`
DependencySpec.`createSystemDependencySpec(Set<String> loaderPaths, boolean export)`
Create a system dependency.
`static DependencySpec`
DependencySpec.`createSystemDependencySpec(PathFilter importFilter, PathFilter exportFilter, Set<String> loaderPaths)`
Create a system dependency.
`DependencySpec[]`
ConcreteModuleSpec.`getDependencies()`
`DependencySpec[]`
Module.`getDependencies()`
Get the current dependencies of this module.
`protected DependencySpec[]`
ModuleLoader.`getDependencies(Module module)`
Get the current dependency list for a module which was defined by this module loader, without any access checks.
Methods in org.jboss.modules with parameters of type DependencySpec
Modifier and Type
Method
Description
`ModuleSpec.Builder`
ModuleSpec.Builder.`addDependency(DependencySpec dependencySpec)`
Add a dependency specification.
Method parameters in org.jboss.modules with type arguments of type DependencySpec
Modifier and Type
Method
Description
`protected void`
ModuleLoader.`setAndRelinkDependencies(Module module, List<DependencySpec> dependencies)`
Replaces the dependencies for the specified module and relinks against the new modules This is an advanced method that should be used carefully, since it alters a live module.