Package | Description |
---|---|
__redirected | |
org.jboss.modules |
The primary JBoss Modules API.
|
org.jboss.modules.log |
The logging interface for JBoss Modules.
|
org.jboss.modules.security | |
org.jboss.modules.xml |
Modifier and Type | Method | Description |
---|---|---|
static void |
__JAXPRedirected.changeAll(String name,
ModuleLoader loader) |
Change all provided factories to the ones contained in the
specified module using the standard META-INF/services lookup
pattern.
|
static void |
__JAXPRedirected.changeAll(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
Use
__JAXPRedirected.changeAll(String, ModuleLoader) instead. |
static void |
__DatatypeFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__DatatypeFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__DocumentBuilderFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__DocumentBuilderFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__SAXParserFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__SAXParserFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__SchemaFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__SchemaFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__TransformerFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__TransformerFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLEventFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__XMLEventFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLInputFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__XMLInputFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLOutputFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__XMLOutputFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLReaderFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__XMLReaderFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XPathFactory.changeDefaultFactory(String id,
ModuleLoader loader) |
|
static void |
__XPathFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Modifier and Type | Class | Description |
---|---|---|
class |
ClassifyingModuleLoader |
A module loader which selects a delegate module loader based upon the prefix of the module name.
|
class |
LocalModuleLoader |
A local filesystem-backed module loader.
|
Modifier and Type | Method | Description |
---|---|---|
static ModuleLoader |
ModuleLoader.forClass(Class<?> clazz) |
Get the module loader for a class.
|
static ModuleLoader |
ModuleLoader.forClassLoader(ClassLoader classLoader) |
Get the module loader for a class loader.
|
static ModuleLoader |
Module.getBootModuleLoader() |
Gets the boot module loader.
|
static ModuleLoader |
Module.getCallerModuleLoader() |
Gets the current module loader.
|
static ModuleLoader |
Module.getContextModuleLoader() |
Get the current thread's context module loader.
|
ModuleLoader |
Module.getModuleLoader() |
Get the module loader which created this module.
|
ModuleLoader |
ModuleDependencySpec.getModuleLoader() |
Get the module loader of this dependency, or
null if the defined module's loader is to be used. |
Modifier and Type | Method | Description |
---|---|---|
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,
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(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.
|
ModuleSpec |
JarModuleFinder.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) |
Find a module specification for the given identifier.
|
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.
|
protected static Module |
ModuleLoader.preloadModule(String name,
ModuleLoader moduleLoader) |
Utility method to delegate to another module loader, accessible from subclasses.
|
protected static Module |
ModuleLoader.preloadModule(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
Deprecated.
Use
preloadModule(String, ModuleLoader) instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
ClassifyingModuleLoader.setDelegates(Map<String,ModuleLoader> delegates) |
Change the delegates map.
|
Constructor | Description |
---|---|
ClassifyingModuleLoader(String name,
Map<String,ModuleLoader> delegates,
ModuleLoader defaultLoader) |
Construct a new instance.
|
Constructor | Description |
---|---|
ClassifyingModuleLoader(String name,
Map<String,ModuleLoader> delegates,
ModuleLoader defaultLoader) |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JDKModuleLogger.moduleDefined(String name,
ModuleLoader moduleLoader) |
|
default void |
ModuleLogger.moduleDefined(String name,
ModuleLoader moduleLoader) |
|
default void |
ModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
|
void |
NoopModuleLogger.moduleDefined(String name,
ModuleLoader moduleLoader) |
|
void |
StreamModuleLogger.moduleDefined(String name,
ModuleLoader moduleLoader) |
Constructor | Description |
---|---|
ModularPermissionFactory(ModuleLoader moduleLoader,
String moduleName,
String className,
String targetName,
String permissionActions) |
Construct a new instance.
|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
String className,
String targetName,
String permissionActions) |
Deprecated.
|
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.
|
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) |
|
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) |
|
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
ModuleLoader moduleLoader,
String moduleName,
File root,
File moduleInfoFile) |
Parse a
module.xml file. |
Copyright © 2022 JBoss by Red Hat. All rights reserved.