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 Module
ModuleLoader. findLoadedModuleLocal(ModuleIdentifier identifier)
Find an already-loaded module, returningnull
if the module isn't currently loaded.static Module
Module. forClass(Class<?> clazz)
Get the module for a loaded class, ornull
if the class did not come from any module.static Module
Module. forClassLoader(ClassLoader cl, boolean search)
Get the module for a class loader, ornull
if the class loader is not associated with any module.static Module
Module. getCallerModule()
Get the caller's module.Module
Module. getModule(ModuleIdentifier identifier)
Get the module with the given identifier from the module loader used by this module.Module
ModuleClassLoader. getModule()
Get the module for this class loader.static Module
Module. getModuleFromCallerModuleLoader(ModuleIdentifier identifier)
Get a module from the current module loader.Module
ModuleLoader. loadModule(ModuleIdentifier identifier)
Load a module based on an identifier.protected Module
ModuleLoader. loadModuleLocal(ModuleIdentifier identifier)
Try to load a module from this module loader.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
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.Methods in org.jboss.modules with parameters of type Module Modifier and Type Method Description protected String
ModuleClassLoader. 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 void
ModuleLoader. refreshResourceLoaders(Module module)
Refreshes the paths provided by resource loaders associated with the specified Module.static void
Module. registerContentHandlerFactoryModule(Module module)
Register an additional module which contains content handlers.static void
Module. registerURLStreamHandlerFactoryModule(Module module)
Register an additional module which contains URL handlers.protected void
ModuleLoader. relink(Module module)
Relinks the dependencies associated with the specified Module.protected void
ModuleLoader. 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 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.protected void
ModuleLoader. 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 ModuleClassLoader
ModulesPrivateAccess. 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 void
JDKModuleLogger. classDefined(String name, Module module)
void
ModuleLogger. classDefined(String name, Module module)
void
NoopModuleLogger. classDefined(String name, Module module)
void
StreamModuleLogger. classDefined(String name, Module module)
void
JDKModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)
void
ModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)
void
NoopModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)
void
StreamModuleLogger. classDefineFailed(Throwable throwable, String className, Module module)
-