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 TypeMethodDescriptionprivate void
ClassPathModuleLoader.addClassPath
(ModuleSpec.Builder builder, String classPath) Adds the class path entries as dependencies on the builder.private long
Module.addExportedPaths
(Dependency[] dependencies, Map<String, List<LocalLoader>> map, FastCopyHashSet<PathFilter> filterStack, FastCopyHashSet<ClassFilter> classFilterStack, FastCopyHashSet<PathFilter> resourceFilterStack, Set<Module.Visited> visited) private long
Module.addPaths
(Dependency[] dependencies, Map<String, List<LocalLoader>> map, FastCopyHashSet<PathFilter> filterStack, FastCopyHashSet<ClassFilter> classFilterStack, FastCopyHashSet<PathFilter> resourceFilterStack, Set<Module.Visited> visited) private Module
ModuleLoader.defineModule
(ConcreteModuleSpec moduleSpec, ModuleLoader.FutureModule futureModule) Defines a Module based on a specification.protected ModuleSpec
ClassifyingModuleLoader.findModule
(ModuleIdentifier moduleIdentifier) Find a Module's specification in this ModuleLoader by its identifier.protected ModuleSpec
ClassPathModuleLoader.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 ModuleSpec
ModuleLoader.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 Module
Module.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) void
static 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 Module
ModuleLoader.loadModule
(ModuleIdentifier identifier) Load a module based on an identifier.protected final Module
ModuleLoader.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 ModuleSpec
LocalModuleFinder.parseModuleXmlFile
(ModuleIdentifier identifier, ModuleLoader delegateLoader, File... roots) Parse amodule.xml
file and return the corresponding module specification.protected Module
ModuleLoader.preloadExportedModule
(ModuleIdentifier identifier) Preload an "exported" module based on an identifier.protected Module
ClassifyingModuleLoader.preloadModule
(ModuleIdentifier moduleIdentifier) Preload a module based on an identifier.protected Module
ClassPathModuleLoader.preloadModule
(ModuleIdentifier identifier) protected Module
JarModuleLoader.preloadModule
(ModuleIdentifier identifier) protected Module
ModuleLoader.preloadModule
(ModuleIdentifier identifier) Preload a module based on an identifier.protected static Module
ModuleLoader.preloadModule
(ModuleIdentifier identifier, ModuleLoader moduleLoader) Utility method to delegate to another module loader, accessible from subclasses.(package private) void
Module.relink()
protected void
Relinks the dependencies associated with the specified Module.(package private) void
Module.relinkIfNecessary()
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, ModuleIdentifier moduleIdentifier, File root, File moduleInfoFile) Parse amodule.xml
file.static ModuleSpec
ModuleXmlParser.parseModuleXml
(ModuleXmlParser.ResourceRootFactory factory, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) Parse amodule.xml
file.static ModuleSpec
ModuleXmlParser.parseModuleXml
(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, String rootPath, InputStream source, String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier) Parse amodule.xml
file.