Uses of Class
org.jboss.modules.ModuleLoader
-
Packages that use ModuleLoader Package Description 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 -
-
Uses of ModuleLoader in org.jboss.modules
Subclasses of ModuleLoader in org.jboss.modules 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.Methods in org.jboss.modules that return ModuleLoader 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, ornull
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.Methods in org.jboss.modules with parameters of type ModuleLoader 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, for removal: This API element is subject to removal in a future version.UseModuleDependencySpecBuilder
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.UseModuleDependencySpecBuilder
instead.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, java.lang.String name, boolean optional)
Deprecated, for removal: This API element is subject to removal in a future version.UseModuleDependencySpecBuilder
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.UseModuleDependencySpecBuilder
instead.static DependencySpec
DependencySpec. createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, java.lang.String name, boolean optional)
Deprecated, for removal: This API element is subject to removal in a future version.UseModuleDependencySpecBuilder
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.UseModuleDependencySpecBuilder
instead.static DependencySpec
DependencySpec. createModuleDependencySpec(ModuleLoader moduleLoader, java.lang.String name, boolean export)
Deprecated, for removal: This API element is subject to removal in a future version.UseModuleDependencySpecBuilder
instead.static DependencySpec
DependencySpec. createModuleDependencySpec(ModuleLoader moduleLoader, java.lang.String name, boolean export, boolean optional)
Deprecated, for removal: This API element is subject to removal in a future version.UseModuleDependencySpecBuilder
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.UseModuleDependencySpecBuilder
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.UseModuleDependencySpecBuilder
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)
Deprecated, for removal: This API element is subject to removal in a future version.ImplementModuleFinder.findModule(String, ModuleLoader)
instead.ModuleSpec
ResourceLoaderModuleFinder. findModule(java.lang.String name, ModuleLoader delegateLoader)
default java.util.Iterator<java.lang.String>
IterableModuleFinder. iterateModules(java.lang.String baseName, boolean recursive, ModuleLoader delegateLoader)
java.util.Iterator<java.lang.String>
JDKModuleFinder. iterateModules(java.lang.String baseName, boolean recursive, ModuleLoader delegate)
java.util.Iterator<java.lang.String>
LocalModuleFinder. iterateModules(java.lang.String baseName, boolean recursive, ModuleLoader delegateLoader)
static ModuleSpec
LocalModuleFinder. parseModuleXmlFile(java.lang.String name, ModuleLoader delegateLoader, java.io.File... roots)
Parse amodule.xml
file and return the corresponding module specification.static ModuleSpec
LocalModuleFinder. parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, java.io.File... roots)
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.UsepreloadModule(String, ModuleLoader)
instead.ModuleDependencySpecBuilder
ModuleDependencySpecBuilder. setModuleLoader(ModuleLoader moduleLoader)
Set the module loader of the dependency.Method parameters in org.jboss.modules with type arguments of type ModuleLoader Modifier and Type Method Description void
ClassifyingModuleLoader. setDelegates(java.util.Map<java.lang.String,ModuleLoader> delegates)
Change the delegates map.Constructors in org.jboss.modules with parameters of type ModuleLoader 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 parameters in org.jboss.modules with type arguments of type ModuleLoader 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. -
Uses of ModuleLoader in org.jboss.modules.log
Methods in org.jboss.modules.log with parameters of type ModuleLoader 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)
Deprecated, for removal: This API element is subject to removal in a future version.void
NoopModuleLogger. moduleDefined(java.lang.String name, ModuleLoader moduleLoader)
void
StreamModuleLogger. moduleDefined(java.lang.String name, ModuleLoader moduleLoader)
-
Uses of ModuleLoader in org.jboss.modules.security
Constructors in org.jboss.modules.security with parameters of type 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, for removal: This API element is subject to removal in a future version. -
Uses of ModuleLoader in org.jboss.modules.xml
Methods in org.jboss.modules.xml with parameters of type ModuleLoader Modifier and Type Method Description static ModuleSpec
ModuleXmlParser. parseModuleXml(ModuleLoader moduleLoader, java.lang.String moduleName, java.io.File root, java.io.File moduleInfoFile)
Parse amodule.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 amodule.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 amodule.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 amodule.xml
file.static FactoryPermissionCollection
PermissionsXmlParser. parsePermissionsXml(java.io.InputStream inputStream, ModuleLoader moduleLoader, java.lang.String moduleName)
Parse thepermissions.xml
stream content.static FactoryPermissionCollection
PermissionsXmlParser. parsePermissionsXml(XmlPullParser reader, ModuleLoader moduleLoader, java.lang.String moduleName)
Parse thepermissions.xml
content.
-