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 TypeClassDescriptionclassModule 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 ModuleSpecClassifyingModuleLoader.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 ModuleSpecModuleFinder.findModule(String name, ModuleLoader delegateLoader) Find a module specification for the given name.default ModuleSpecModuleFinder.findModule(ModuleIdentifier moduleIdentifier, ModuleLoader delegateLoader) Deprecated, for removal: This API element is subject to removal in a future version.protected ModuleSpecModuleLoader.findModule(String name) Find a Module's specification in this ModuleLoader by its name.protected ModuleSpecModuleLoader.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 ModuleModule.getModuleFromCallerModuleLoader(String name) Get a module from the current module loader.static ModuleModule.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 ModuleModuleLoader.loadModule(String name) Load a module based on an identifier.final ModuleModuleLoader.loadModule(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.loadModule(String)instead.protected final ModuleModuleLoader.loadModuleLocal(String name) Try to load a module from this module loader.protected final ModuleModuleLoader.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 ModuleSpecLocalModuleFinder.parseModuleXmlFile(String name, ModuleLoader delegateLoader, File... roots) Parse amodule.xmlfile and return the corresponding module specification.static ModuleSpecLocalModuleFinder.parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots) Deprecated, for removal: This API element is subject to removal in a future version.protected ModuleModuleLoader.preloadExportedModule(String name) Preload an "exported" module based on an identifier.protected ModuleModuleLoader.preloadExportedModule(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.preloadModule(String)instead.protected ModuleClassifyingModuleLoader.preloadModule(String name) Preload a module based on an identifier.protected ModuleDelegatingModuleLoader.preloadModule(String name) Preload the named module.protected ModuleModuleLoader.preloadModule(String name) Preload a module based on an identifier.protected static ModuleModuleLoader.preloadModule(String name, ModuleLoader moduleLoader) Utility method to delegate to another module loader, accessible from subclasses.protected ModuleModuleLoader.preloadModule(ModuleIdentifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.UseModuleLoader.preloadModule(String)instead.protected static ModuleModuleLoader.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 voidRelinks the dependencies associated with the specified Module.protected voidModuleLoader.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 ModuleSpecModuleXmlParser.parseModuleXml(ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile) Parse amodule.xmlfile.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, File root, File moduleInfoFile) Deprecated.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName) Parse amodule.xmlfile.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, String moduleName) Parse amodule.xmlfile.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, ModuleLoader moduleLoader, String moduleName, File root, File moduleInfoFile) Parse amodule.xmlfile.
ModuleFinder.findModule(String, ModuleLoader)instead.