|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.modules.DependencySpec
public abstract class DependencySpec
A dependency specification that represents a single dependency for a module. The dependency can be on a local loader or another module, or on the target module's local loader.
Method Summary | |
---|---|
static DependencySpec |
createLocalDependencySpec()
Create a dependency on the current module's local resources. |
static DependencySpec |
createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths)
Create a dependency on the given local loader. |
static DependencySpec |
createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths,
boolean export)
Create a dependency on the given local loader. |
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter)
Create a dependency on the current module's local resources. |
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
LocalLoader localLoader,
Set<String> loaderPaths)
Create a dependency on the given local loader. |
static 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 |
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 |
createModuleDependencySpec(ModuleIdentifier identifier)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(ModuleIdentifier identifier,
boolean export)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(ModuleIdentifier identifier,
boolean export,
boolean optional)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export,
boolean optional)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DependencySpec createLocalDependencySpec()
public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter)
importFilter
- the import filter to applyexportFilter
- the export filter to apply
public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter)
importFilter
- the import filter to applyexportFilter
- the export filter to applyresourceImportFilter
- the resource import filter to applyresourceExportFilter
- the resource export filter to applyclassImportFilter
- the class import filter to applyclassExportFilter
- the class export filter to apply
public static DependencySpec createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths)
localLoader
- the local loaderloaderPaths
- the set of paths that is exposed by the local loader
public static DependencySpec createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths, boolean export)
localLoader
- the local loaderloaderPaths
- the set of paths that is exposed by the local loaderexport
- true
if this is a fully re-exported dependency, false
if it should not be exported
public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, LocalLoader localLoader, Set<String> loaderPaths)
importFilter
- the import filter to applyexportFilter
- the export filter to applylocalLoader
- the local loaderloaderPaths
- the set of paths that is exposed by the local loader
public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, LocalLoader localLoader, Set<String> loaderPaths)
importFilter
- the import filter to applyexportFilter
- the export filter to applyresourceImportFilter
- the resource import filter to applyresourceExportFilter
- the resource export filter to applyclassImportFilter
- the class import filter to applyclassExportFilter
- the class export filter to applylocalLoader
- the local loaderloaderPaths
- the set of paths that is exposed by the local loader
public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier)
identifier
- the module identifier
public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier, boolean export)
identifier
- the module identifierexport
- true
if the dependency should be exported by default
public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier, boolean export, boolean optional)
identifier
- the module identifierexport
- true
if this is a fully re-exported dependency, false
if it should not be exportedoptional
- true
if the dependency is optional, false
if it is mandatory
public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export)
moduleLoader
- the specific module loader from which the module should be acquiredidentifier
- the module identifierexport
- true
if this is a fully re-exported dependency, false
if it should not be exported
public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export, boolean optional)
moduleLoader
- the specific module loader from which the module should be acquiredidentifier
- the module identifierexport
- true
if this is a fully re-exported dependency, false
if it should not be exportedoptional
- true
if the dependency is optional, false
if it is mandatory
public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, ModuleIdentifier identifier, boolean optional)
exportFilter
- the export filter to applyidentifier
- the module identifieroptional
- true
if the dependency is optional, false
if it is mandatory
public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
exportFilter
- the export filter to applymoduleLoader
- the specific module loader from which the module should be acquiredidentifier
- the module identifieroptional
- true
if the dependency is optional, false
if it is mandatory
public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
importFilter
- the import filter to applyexportFilter
- the export filter to applymoduleLoader
- the specific module loader from which the module should be acquiredidentifier
- the module identifieroptional
- true
if the dependency is optional, false
if it is mandatory
public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
importFilter
- the import filter to applyexportFilter
- the export filter to applyresourceImportFilter
- the resource import filter to applyresourceExportFilter
- the resource export filter to applyclassImportFilter
- the class import filter to applyclassExportFilter
- the class export filter to applymoduleLoader
- the specific module loader from which the module should be acquiredidentifier
- the module identifieroptional
- true
if the dependency is optional, false
if it is mandatory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |