# Package org.jboss.modules

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.

Related Packages
Package
Description
org.jboss.modules.filter
Classes related to filtering.
org.jboss.modules.log
The logging interface for JBoss Modules.
org.jboss.modules.management
Management interfaces for utilizing JBoss Modules via an MBean container.
org.jboss.modules.maven
org.jboss.modules.ref
Classes which implement reference types which can be cleaned up automatically by a background thread.
org.jboss.modules.security
org.jboss.modules.xml
Class
Description
AbstractLocalLoader
An abstract local loader implementation.
AbstractResourceLoader
An abstract resource loader implementation.
AliasModuleSpec
A module specification for a module alias.
AssertionSetting
The assertion setting for a package or class.
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.
ClassTransformer
A class file transformer which operates on byte buffers.
ConcreteModuleSpec
A `Module` 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 extended `MANIFEST` headers supported by JBoss Modules.
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.
JarModuleFinder
Deprecated.
`FileSystemClassPathModuleFinder` and/or `ResourceLoaderModuleFinder` should be used instead for more complete functionality.
JDKModuleFinder
JLIClassTransformer
A wrapper around a `ClassFileTransformer`.
LocalDependencySpecBuilder
A local dependency specification builder, which includes a module's own content or some other, external content.
LocalLoader
A loader which implements the local part of a module.
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 uses `module.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.
ModuleClassLoaderFactory
A producer for Module class loaders.
ModuleDependencySpec
A dependency specification on a module.
ModuleDependencySpecBuilder
A builder for dependency specifications that refer to other modules.
ModuleFinder
A locator for module definitions.
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.
ModuleLoadError
Module load error, thrown when there is some problem loading a module during runtime.
ModuleLoadException
Module load exception, thrown when there is some problem loading a module.
ModuleLoggerFinder
A logger finder which attempts to locate a `System.LoggerFinder` on the log managers class path.
ModuleNotFoundException
Module not found exceptions are thrown when no module loaders can locate a module which fulfills a given module identifier.
ModuleSpec
A `Module` specification which is used by a `ModuleLoader` to define new modules.
ModuleSpec.AliasBuilder
A builder for new alias module specifications.
ModuleSpec.Builder
A builder for new concrete module specifications.
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.
PreMain
An initialization task which is run before the application's `main` method.
Resource
A single resource from a `ResourceLoader`.
ResourceLoader
A loader for resources from a specific resource root within a module.
ResourceLoaderModuleFinder
A module loader which loads modules which are stored inside the `modules` 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.