Uses of Class
org.jboss.modules.Module
-
Packages that use Module Package Description org.jboss.modules The primary JBoss Modules API.org.jboss.modules._private org.jboss.modules.log The logging interface for JBoss Modules. -
-
Uses of Module in org.jboss.modules
Methods in org.jboss.modules that return Module Modifier and Type Method Description protected ModuleModuleLoader. findLoadedModuleLocal(ModuleIdentifier identifier)Find an already-loaded module, returningnullif the module isn't currently loaded.static ModuleModule. forClass(Class<?> clazz)Get the module for a loaded class, ornullif the class did not come from any module.static ModuleModule. forClassLoader(ClassLoader cl, boolean search)Get the module for a class loader, ornullif the class loader is not associated with any module.static ModuleModule. getCallerModule()Get the caller's module.ModuleModule. getModule(ModuleIdentifier identifier)Get the module with the given identifier from the module loader used by this module.ModuleModuleClassLoader. getModule()Get the module for this class loader.static ModuleModule. getModuleFromCallerModuleLoader(ModuleIdentifier identifier)Get a module from the current module loader.ModuleModuleLoader. loadModule(ModuleIdentifier identifier)Load a module based on an identifier.protected ModuleModuleLoader. loadModuleLocal(ModuleIdentifier identifier)Try to load a module from this module loader.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 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.Methods in org.jboss.modules with parameters of type Module Modifier and Type Method Description protected StringModuleClassLoader. getClassNotFoundExceptionMessage(String className, Module fromModule)Returns an exception message used when producing instances of ClassNotFoundException.protected DependencySpec[]ModuleLoader. getDependencies(Module module)Get the current dependency list for a module which was defined by this module loader, without any access checks.protected voidModuleLoader. refreshResourceLoaders(Module module)Refreshes the paths provided by resource loaders associated with the specified Module.static voidModule. registerContentHandlerFactoryModule(Module module)Register an additional module which contains content handlers.static voidModule. registerURLStreamHandlerFactoryModule(Module module)Register an additional module which contains URL handlers.protected voidModuleLoader. relink(Module module)Relinks the dependencies associated with the specified Module.protected voidModuleLoader. setAndRefreshResourceLoaders(Module module, Collection<ResourceLoaderSpec> loaders)Replaces the resources loaders for the specified module and refreshes the internal path list that is derived from the loaders.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.protected voidModuleLoader. unloadModuleLocal(Module module)Unload a module from this module loader. -
Uses of Module in org.jboss.modules._private
Methods in org.jboss.modules._private with parameters of type Module Modifier and Type Method Description ModuleClassLoaderModulesPrivateAccess. getClassLoaderOf(Module module) -
Uses of Module in org.jboss.modules.log
Methods in org.jboss.modules.log with parameters of type Module Modifier and Type Method Description voidJDKModuleLogger. classDefined(String name, Module module)voidModuleLogger. classDefined(String name, Module module)voidNoopModuleLogger. classDefined(String name, Module module)voidStreamModuleLogger. classDefined(String name, Module module)voidJDKModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)voidModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)voidNoopModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)voidStreamModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)
-