Uses of Class
org.jboss.modules.ModuleLoadException
Packages that use ModuleLoadException
-
Uses of ModuleLoadException in org.jboss.modules
Subclasses of ModuleLoadException in org.jboss.modulesModifier and TypeClassDescriptionclass
Module not found exceptions are thrown when no module loaders can locate a module which fulfills a given module identifier.Methods in org.jboss.modules that return ModuleLoadExceptionModifier and TypeMethodDescriptionModuleLoadError.toException()
Convert to a checked exception type.Methods in org.jboss.modules that throw ModuleLoadExceptionModifier and TypeMethodDescriptionprotected ModuleSpec
ClassifyingModuleLoader.findModule
(String name) Find a Module's specification in this ModuleLoader by its name.FileSystemClassPathModuleFinder.findModule
(String name, ModuleLoader delegateLoader) JarModuleFinder.findModule
(String name, ModuleLoader delegateLoader) Deprecated.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) Deprecated, for removal: This API element is subject to removal in a future version.protected ModuleSpec
ModuleLoader.findModule
(String name) Find a Module's specification in this ModuleLoader by its name.protected ModuleSpec
ModuleLoader.findModule
(ModuleIdentifier moduleIdentifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.findModule(String)
instead.ResourceLoaderModuleFinder.findModule
(String name, ModuleLoader delegateLoader) Module.getImportedPaths()
Get the (unmodifiable) set of paths which are imported into this module class loader, including local paths.Get the module with the given identifier from the module loader used by this module.Module.getModule
(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModule.getModule(String)
instead.static Module
Module.getModuleFromCallerModuleLoader
(String name) Get a module from the current module loader.static Module
Module.getModuleFromCallerModuleLoader
(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModule.getModuleFromCallerModuleLoader(String)
instead.Module.globResources
(String glob) Enumerate all imported resources in this module which match the given glob expression.Module.iterateResources
(PathFilter filter) Enumerate all the imported resources in this module, subject to a path filter.static Class
<?> Module.loadClassFromBootModuleLoader
(String name, String className) Load a class from a module in the system module loader.static Class
<?> Module.loadClassFromBootModuleLoader
(ModuleIdentifier moduleIdentifier, String className) Deprecated, for removal: This API element is subject to removal in a future version.UseModule.loadClassFromBootModuleLoader(String, String)
instead.static Class
<?> Module.loadClassFromCallerModuleLoader
(String name, String className) Load a class from a module in the caller's module loader.static Class
<?> Module.loadClassFromCallerModuleLoader
(ModuleIdentifier moduleIdentifier, String className) Deprecated, for removal: This API element is subject to removal in a future version.final Module
ModuleLoader.loadModule
(String name) Load a module based on an identifier.final Module
ModuleLoader.loadModule
(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.loadModule(String)
instead.protected final Module
ModuleLoader.loadModuleLocal
(String name) Try to load a module from this module loader.protected final Module
ModuleLoader.loadModuleLocal
(ModuleIdentifier moduleIdentifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.loadModuleLocal(String)
instead.static <S> ServiceLoader
<S> Module.loadServiceFromCallerModuleLoader
(String name, Class<S> serviceType) Load a service loader from a module in the caller's module loader.static <S> ServiceLoader
<S> Module.loadServiceFromCallerModuleLoader
(ModuleIdentifier identifier, Class<S> serviceType) Deprecated, for removal: This API element is subject to removal in a future version.static ModuleSpec
LocalModuleFinder.parseModuleXmlFile
(String name, ModuleLoader delegateLoader, File... roots) Parse amodule.xml
file and return the corresponding module specification.static ModuleSpec
LocalModuleFinder.parseModuleXmlFile
(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots) Deprecated, for removal: This API element is subject to removal in a future version.protected Module
ModuleLoader.preloadExportedModule
(String name) Preload an "exported" module based on an identifier.protected Module
ModuleLoader.preloadExportedModule
(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.preloadModule(String)
instead.protected Module
ClassifyingModuleLoader.preloadModule
(String name) Preload a module based on an identifier.protected Module
DelegatingModuleLoader.preloadModule
(String name) Preload the named module.protected Module
ModuleLoader.preloadModule
(String name) Preload a module based on an identifier.protected static Module
ModuleLoader.preloadModule
(String name, ModuleLoader moduleLoader) Utility method to delegate to another module loader, accessible from subclasses.protected Module
ModuleLoader.preloadModule
(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.preloadModule(String)
instead.protected static Module
ModuleLoader.preloadModule
(ModuleIdentifier identifier, ModuleLoader moduleLoader) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.preloadModule(String, ModuleLoader)
instead.protected void
Relinks the dependencies associated with the specified Module.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. -
Uses of ModuleLoadException in org.jboss.modules.xml
Methods in org.jboss.modules.xml that throw ModuleLoadExceptionModifier and TypeMethodDescriptionstatic ModuleSpec
ModuleXmlParser.parseModuleXml
(ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile) Parse amodule.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 amodule.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 amodule.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 amodule.xml
file.
ModuleFinder.findModule(String, ModuleLoader)
instead.