Package org.jboss.modules
The primary JBoss Modules API. The key classes in this package are
Module
, ModuleLoader
,
ConcurrentClassLoader
, and ModuleClassLoader
. These classes make up the backbone of the module
system.-
Interface Summary Interface Description ClassTransformer A class file transformer which operates on byte buffers.IterableLocalLoader A local loader which can enumerate its contents.IterableModuleFinder A module finder which is iterable.IterableResourceLoader A resource loader which has the ability to enumerate its contents.LocalLoader A loader which implements the local part of a module.ModuleClassLoaderFactory A producer for Module class loaders.ModuleFinder A locator for module definitions.ModuleSpec.AliasBuilder A builder for new alias module specifications.ModuleSpec.Builder A builder for new concrete module specifications.PreMain An initialization task which is run before the application'smain
method.Resource A single resource from aResourceLoader
.ResourceLoader A loader for resources from a specific resource root within a module. -
Class Summary Class Description AbstractLocalLoader An abstract local loader implementation.AbstractResourceLoader An abstract resource loader implementation.AliasModuleSpec A module specification for a module alias.ClassDefiner A hook for frameworks which need to define additional classes to a module's class loader.ClassifyingModuleLoader A module loader which selects a delegate module loader based upon the prefix of the module name.ClassSpec A class definition specification.ConcreteModuleSpec AModule
specification for a concrete module implementation.ConcurrentClassLoader A classloader which can delegate to multiple other classloaders without risk of deadlock.DelegatingModuleLoader A module loader which searches its finders first, and then delegates to another loader if the module is not found.DependencySpec A dependency specification that represents a single dependency for a module.DependencySpecBuilder The base class of dependency specification builders.DependencyTreeViewer A dependency tree viewer utility.FileSystemClassPathModuleFinder A module finder which loads modules from individual JARs or directories on the file system, supporting the JAR specification headers as well as the extendedMANIFEST
headers supported by JBoss Modules.JarModuleFinder Deprecated. FileSystemClassPathModuleFinder
and/orResourceLoaderModuleFinder
should be used instead for more complete functionality.JDKModuleFinder JLIClassTransformer A wrapper around aClassFileTransformer
.LocalDependencySpecBuilder A local dependency specification builder, which includes a module's own content or some other, external content.LocalLoaders Static factory methods for various types of local loaders.LocalModuleFinder A module finder which locates module specifications which are stored in a local module repository on the filesystem, which usesmodule.xml
descriptors.LocalModuleLoader A local filesystem-backed module loader.Main The main entry point of JBoss Modules when run as a JAR on the command line.ModularAgent The modular agent entry point.Module A module is a unit of classes and other resources, along with the specification of what is imported and exported by this module from and to other modules.ModuleClassLoader A module classloader.ModuleClassLoader.Configuration An opaque configuration used internally to create a module class loader.ModuleDependencySpec A dependency specification on a module.ModuleDependencySpecBuilder A builder for dependency specifications that refer to other modules.ModuleIdentifier Deprecated. This class has been deprecated in favor of name strings; however, programs using identifiers will continue to function correctly.ModuleLoader A repository for modules, from which a module may be loaded by identifier.ModuleLoggerFinder A logger finder which attempts to locate aSystem.LoggerFinder
on the log managers class path.ModuleSpec AModule
specification which is used by aModuleLoader
to define new modules.NamedClassLoader A class loader that may be named.NativeLibraryResourceLoader A base class for resource loaders which can load native libraries.PackageSpec A specification for a package to define.PathUtils General helpful path utility methods.ResourceLoaderModuleFinder A module loader which loads modules which are stored inside themodules
directory of a single JAR or JAR-like root.ResourceLoaders Static factory methods for various types of resource loaders.ResourceLoaderSpec A specification of a resource loader within a module.Version A version for a module.VersionDetection A utility class to assist with detecting the version of a resource root or collection of resource roots. -
Enum Summary Enum Description AssertionSetting The assertion setting for a package or class. -
Exception Summary Exception Description ModuleLoadException Module load exception, thrown when there is some problem loading a module.ModuleNotFoundException Module not found exceptions are thrown when no module loaders can locate a module which fulfills a given module identifier. -
Error Summary Error Description ModuleLoadError Module load error, thrown when there is some problem loading a module during runtime.