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 TypeMethodDescriptionprivate voidClassPathModuleLoader.addClassPath(ModuleSpec.Builder builder, String classPath) Adds the class path entries as dependencies on the builder.private longModule.addExportedPaths(Dependency[] dependencies, Map<String, List<LocalLoader>> map, FastCopyHashSet<PathFilter> filterStack, FastCopyHashSet<ClassFilter> classFilterStack, FastCopyHashSet<PathFilter> resourceFilterStack, Set<Module.Visited> visited) private longModule.addPaths(Dependency[] dependencies, Map<String, List<LocalLoader>> map, FastCopyHashSet<PathFilter> filterStack, FastCopyHashSet<ClassFilter> classFilterStack, FastCopyHashSet<PathFilter> resourceFilterStack, Set<Module.Visited> visited) private ModuleModuleLoader.defineModule(ConcreteModuleSpec moduleSpec, ModuleLoader.FutureModule futureModule) Defines a Module based on a specification.protected ModuleSpecClassifyingModuleLoader.findModule(ModuleIdentifier moduleIdentifier) Find a Module's specification in this ModuleLoader by its identifier.protected ModuleSpecClassPathModuleLoader.findModule(ModuleIdentifier moduleIdentifier) JarModuleFinder.findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader) LocalModuleFinder.findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader) ModuleFinder.findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader) Find a module specification for the given identifier.protected ModuleSpecModuleLoader.findModule(ModuleIdentifier moduleIdentifier) Find a Module's specification in this ModuleLoader by its identifier.Module.getImportedPaths()Get the (unmodifiable) set of paths which are imported into this module class loader, including local paths.Module.getModule(ModuleIdentifier identifier) Get the module with the given identifier from the module loader used by this module.static ModuleModule.getModuleFromCallerModuleLoader(ModuleIdentifier identifier) Get a module from the current module loader.(package private) Map<String, List<LocalLoader>> Module.getPaths()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.(package private) voidstatic Class<?> Module.loadClassFromBootModuleLoader(ModuleIdentifier moduleIdentifier, String className) Load a class from a module in the system module loader.static Class<?> Module.loadClassFromCallerModuleLoader(ModuleIdentifier moduleIdentifier, String className) Load a class from a module in the caller's module loader.final ModuleModuleLoader.loadModule(ModuleIdentifier identifier) Load a module based on an identifier.protected final ModuleModuleLoader.loadModuleLocal(ModuleIdentifier identifier) Try to load a module from this module loader.static <S> ServiceLoader<S> Module.loadServiceFromCallerModuleLoader(ModuleIdentifier identifier, Class<S> serviceType) Load a service loader from a module in the caller's module loader.static ModuleSpecLocalModuleFinder.parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots) Parse amodule.xmlfile and return the corresponding module specification.protected ModuleModuleLoader.preloadExportedModule(ModuleIdentifier identifier) Preload an "exported" module based on an identifier.protected ModuleClassifyingModuleLoader.preloadModule(ModuleIdentifier moduleIdentifier) Preload a module based on an identifier.protected ModuleClassPathModuleLoader.preloadModule(ModuleIdentifier identifier) protected ModuleJarModuleLoader.preloadModule(ModuleIdentifier identifier) protected ModuleModuleLoader.preloadModule(ModuleIdentifier identifier) Preload a module based on an identifier.protected static ModuleModuleLoader.preloadModule(ModuleIdentifier identifier, ModuleLoader moduleLoader) Utility method to delegate to another module loader, accessible from subclasses.(package private) voidModule.relink()protected voidRelinks the dependencies associated with the specified Module.(package private) voidModule.relinkIfNecessary()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, ModuleIdentifier moduleIdentifier, File root, File moduleInfoFile) Parse amodule.xmlfile.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) Parse amodule.xmlfile.static ModuleSpecModuleXmlParser.parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) Parse amodule.xmlfile.