Package | Description |
---|---|
org.jboss.modules |
The primary JBoss Modules API.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ModuleDependencySpec |
A dependency specification on a module.
|
Modifier and Type | Method | Description |
---|---|---|
static DependencySpec |
DependencySpec.createClassLoaderDependencySpec(ClassLoader classLoader,
Set<String> loaderPaths) |
Create a dependency on the given class loader.
|
static DependencySpec |
DependencySpec.createClassLoaderDependencySpec(ClassLoader classLoader,
Set<String> loaderPaths,
boolean export) |
Create a dependency on the given class loader.
|
static DependencySpec |
DependencySpec.createClassLoaderDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ClassLoader classLoader,
Set<String> loaderPaths) |
Create a dependency on the given class loader.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec() |
Create a dependency on the current module's local resources.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter) |
Create a dependency on the current module's local resources.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter) |
Create a dependency on the current module's local resources.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
LocalLoader localLoader,
Set<String> loaderPaths) |
Create a dependency on the given local loader.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
LocalLoader localLoader,
Set<String> loaderPaths) |
Create a dependency on the given local loader.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths) |
Create a dependency on the given local loader.
|
static DependencySpec |
DependencySpec.createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths,
boolean export) |
Create a dependency on the given local loader.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(String name) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(String name,
boolean export) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(String name,
boolean export,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
String name,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier) |
Deprecated.
Use
createModuleDependencySpec(String) instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier,
boolean export) |
Deprecated.
Use
createModuleDependencySpec(String,boolean) instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier,
boolean export,
boolean optional) |
Deprecated.
Use
createModuleDependencySpec(String,boolean,boolean) instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
String name,
boolean export) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
String name,
boolean export,
boolean optional) |
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export) |
Deprecated.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export,
boolean optional) |
Deprecated.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
ModuleSpec.Builder |
ModuleSpec.Builder.addDependency(DependencySpec dependencySpec) |
Add a dependency specification.
|
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.
|
Copyright © 2022 JBoss by Red Hat. All rights reserved.