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(java.lang.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(java.lang.String id,
ModuleLoader loader) |
|
static void |
__DatatypeFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__DocumentBuilderFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__DocumentBuilderFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__SAXParserFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__SAXParserFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__SchemaFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__SchemaFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__TransformerFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__TransformerFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLEventFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__XMLEventFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLInputFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__XMLInputFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLOutputFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__XMLOutputFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XMLReaderFactory.changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
__XMLReaderFactory.changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
static void |
__XPathFactory.changeDefaultFactory(java.lang.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 |
DelegatingModuleLoader |
A module loader which searches its finders first, and then delegates to another loader if the module is not found.
|
class |
LocalModuleLoader |
A local filesystem-backed module loader.
|
Modifier and Type | Method | Description |
---|---|---|
static ModuleLoader |
ModuleLoader.forClass(java.lang.Class<?> clazz) |
Get the module loader for a class.
|
static ModuleLoader |
ModuleLoader.forClassLoader(java.lang.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. |
ModuleLoader |
ModuleDependencySpecBuilder.getModuleLoader() |
Get the module loader of the dependency.
|
static ModuleLoader |
Module.getSystemModuleLoader() |
Get the system module loader.
|
Modifier and Type | Method | Description |
---|---|---|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
java.lang.String name,
boolean optional) |
Deprecated.
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.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
java.lang.String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
java.lang.String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
java.lang.String name,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
java.lang.String name,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
ModuleSpec |
FileSystemClassPathModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
ModuleSpec |
JarModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
Deprecated.
|
ModuleSpec |
JDKModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
ModuleSpec |
LocalModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
default ModuleSpec |
ModuleFinder.findModule(java.lang.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.
|
ModuleSpec |
ResourceLoaderModuleFinder.findModule(java.lang.String name,
ModuleLoader delegateLoader) |
|
static ModuleSpec |
LocalModuleFinder.parseModuleXmlFile(java.lang.String name,
ModuleLoader delegateLoader,
java.io.File... roots) |
Parse a
module.xml file and return the corresponding module specification. |
static ModuleSpec |
LocalModuleFinder.parseModuleXmlFile(ModuleIdentifier identifier,
ModuleLoader delegateLoader,
java.io.File... roots) |
Deprecated.
|
protected static Module |
ModuleLoader.preloadModule(java.lang.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. |
ModuleDependencySpecBuilder |
ModuleDependencySpecBuilder.setModuleLoader(ModuleLoader moduleLoader) |
Set the module loader of the dependency.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ClassifyingModuleLoader.setDelegates(java.util.Map<java.lang.String,ModuleLoader> delegates) |
Change the delegates map.
|
Constructor | Description |
---|---|
ClassifyingModuleLoader(java.lang.String name,
java.util.Map<java.lang.String,ModuleLoader> delegates,
ModuleLoader defaultLoader) |
Construct a new instance.
|
DelegatingModuleLoader(ModuleLoader delegate,
ModuleFinder finder) |
Construct a new instance.
|
DelegatingModuleLoader(ModuleLoader delegate,
ModuleFinder[] finders) |
Construct a new instance.
|
FileSystemClassPathModuleFinder(ModuleLoader baseModuleLoader) |
Construct a new instance.
|
FileSystemClassPathModuleFinder(ModuleLoader baseModuleLoader,
java.util.function.Supplier<ModuleLoader> extensionModuleLoaderSupplier) |
Construct a new instance.
|
Constructor | Description |
---|---|
ClassifyingModuleLoader(java.lang.String name,
java.util.Map<java.lang.String,ModuleLoader> delegates,
ModuleLoader defaultLoader) |
Construct a new instance.
|
FileSystemClassPathModuleFinder(java.util.function.Supplier<ModuleLoader> baseModuleLoaderSupplier,
java.util.function.Supplier<ModuleLoader> extensionModuleLoaderSupplier) |
Construct a new instance.
|
FileSystemClassPathModuleFinder(ModuleLoader baseModuleLoader,
java.util.function.Supplier<ModuleLoader> extensionModuleLoaderSupplier) |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JDKModuleLogger.moduleDefined(java.lang.String name,
ModuleLoader moduleLoader) |
|
default void |
ModuleLogger.moduleDefined(java.lang.String name,
ModuleLoader moduleLoader) |
|
default void |
ModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
|
void |
NoopModuleLogger.moduleDefined(java.lang.String name,
ModuleLoader moduleLoader) |
|
void |
StreamModuleLogger.moduleDefined(java.lang.String name,
ModuleLoader moduleLoader) |
Constructor | Description |
---|---|
ModularPermissionFactory(ModuleLoader moduleLoader,
java.lang.String moduleName,
java.lang.String className,
java.lang.String targetName,
java.lang.String permissionActions) |
Construct a new instance.
|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
java.lang.String className,
java.lang.String targetName,
java.lang.String permissionActions) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleLoader moduleLoader,
java.lang.String moduleName,
java.io.File root,
java.io.File moduleInfoFile) |
Parse a
module.xml file. |
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
java.io.File root,
java.io.File moduleInfoFile) |
Deprecated.
|
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
java.lang.String rootPath,
java.io.InputStream source,
java.lang.String moduleInfoFile,
ModuleLoader moduleLoader,
java.lang.String moduleName) |
Parse a
module.xml file. |
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
java.lang.String rootPath,
java.io.InputStream source,
java.lang.String moduleInfoFile,
ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier) |
|
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
MavenResolver mavenResolver,
java.lang.String rootPath,
java.io.InputStream source,
java.lang.String moduleInfoFile,
ModuleLoader moduleLoader,
java.lang.String moduleName) |
Parse a
module.xml file. |
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
MavenResolver mavenResolver,
java.lang.String rootPath,
java.io.InputStream source,
java.lang.String moduleInfoFile,
ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier) |
|
static ModuleSpec |
ModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory,
ModuleLoader moduleLoader,
java.lang.String moduleName,
java.io.File root,
java.io.File moduleInfoFile) |
Parse a
module.xml file. |
static FactoryPermissionCollection |
PermissionsXmlParser.parsePermissionsXml(java.io.InputStream inputStream,
ModuleLoader moduleLoader,
java.lang.String moduleName) |
Parse the
permissions.xml stream content. |
static FactoryPermissionCollection |
PermissionsXmlParser.parsePermissionsXml(XmlPullParser reader,
ModuleLoader moduleLoader,
java.lang.String moduleName) |
Parse the
permissions.xml content. |
Copyright © 2022 JBoss by Red Hat. All rights reserved.