Package | Description |
---|---|
org.jboss.modules |
The primary JBoss Modules API.
|
org.jboss.modules.log |
The logging interface for JBoss Modules.
|
org.jboss.modules.security |
Modifier and Type | Field and Description |
---|---|
static ModuleIdentifier |
ModuleIdentifier.CLASSPATH
The class path module (only present if booted from a class path).
|
Modifier and Type | Method and Description |
---|---|
static ModuleIdentifier |
ModuleIdentifier.create(String name)
Creates a new module identifier using the specified name.
|
static ModuleIdentifier |
ModuleIdentifier.create(String name,
String slot)
Creates a new module identifier using the specified name and slot.
|
static ModuleIdentifier |
ModuleIdentifier.fromString(String moduleSpec)
Parse a module specification from a string.
|
ModuleIdentifier |
ModuleSpec.AliasBuilder.getAliasTarget()
Get the identifier of the module being referenced by this builder.
|
ModuleIdentifier |
AliasModuleSpec.getAliasTarget() |
ModuleIdentifier |
ModuleSpec.Builder.getIdentifier()
Get the identifier of the module being defined by this builder.
|
ModuleIdentifier |
ModuleSpec.AliasBuilder.getIdentifier()
Get the identifier of the module being defined by this builder.
|
ModuleIdentifier |
ModuleDependencySpec.getIdentifier()
Get the module identifier of the dependency.
|
ModuleIdentifier |
Module.getIdentifier()
Get this module's identifier.
|
ModuleIdentifier |
ModuleSpec.getModuleIdentifier()
Get the module identifier for the module which is specified by this object.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ModuleIdentifier> |
ModuleLoader.iterateModules(ModuleIdentifier baseIdentifier,
boolean recursive)
Iterate the modules which can be located via this module loader.
|
Iterator<ModuleIdentifier> |
IterableModuleFinder.iterateModules(ModuleIdentifier baseIdentifier,
boolean recursive)
Iterate the modules which can be located via this module finder.
|
Modifier and Type | Method and Description |
---|---|
static ModuleSpec.Builder |
ModuleSpec.build(ModuleIdentifier moduleIdentifier)
Get a builder for a new module specification.
|
static ModuleSpec.AliasBuilder |
ModuleSpec.buildAlias(ModuleIdentifier moduleIdentifier,
ModuleIdentifier aliasTarget)
Get a builder for a new module alias specification.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier,
boolean export)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleIdentifier identifier,
boolean export,
boolean optional)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export,
boolean optional)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module.
|
static DependencySpec |
DependencySpec.createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional)
Create a dependency on the given module.
|
boolean |
ModuleIdentifier.equals(ModuleIdentifier other)
Determine whether this object is equal to another.
|
protected Module |
ModuleLoader.findLoadedModuleLocal(ModuleIdentifier identifier)
Find an already-loaded module, returning
null if the module isn't currently loaded. |
protected ModuleSpec |
ModuleLoader.findModule(ModuleIdentifier moduleIdentifier)
Find a Module's specification in this ModuleLoader by its identifier.
|
protected ModuleSpec |
ClassifyingModuleLoader.findModule(ModuleIdentifier moduleIdentifier)
Find a Module's specification in this ModuleLoader by its identifier.
|
ModuleSpec |
LocalModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader) |
ModuleSpec |
ModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader)
Find a module specification for the given identifier.
|
ModuleSpec |
JarModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader) |
Module |
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.
|
Iterator<ModuleIdentifier> |
ModuleLoader.iterateModules(ModuleIdentifier baseIdentifier,
boolean recursive)
Iterate the modules which can be located via this module loader.
|
Iterator<ModuleIdentifier> |
IterableModuleFinder.iterateModules(ModuleIdentifier baseIdentifier,
boolean recursive)
Iterate the modules which can be located via this module finder.
|
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.
|
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.
|
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 a
module.xml file and return the corresponding module specification. |
protected Module |
ModuleLoader.preloadExportedModule(ModuleIdentifier identifier)
Preload an "exported" module based on an identifier.
|
protected Module |
ModuleLoader.preloadModule(ModuleIdentifier identifier)
Preload a module based on an identifier.
|
protected Module |
ClassifyingModuleLoader.preloadModule(ModuleIdentifier moduleIdentifier)
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.
|
static void |
DependencyTreeViewer.print(PrintWriter out,
ModuleIdentifier identifier,
File... roots)
Print the dependency tree for the given module with the given module root list.
|
protected boolean |
ModuleLoader.unloadModuleLocal(ModuleIdentifier moduleId,
Module module)
Unload a module from this module loader.
|
Constructor and Description |
---|
JarModuleFinder(ModuleIdentifier myIdentifier,
JarFile jarFile)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
ModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
NoopModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
JDKModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
Constructor and Description |
---|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
String className,
String targetName,
String permissionActions)
Construct a new instance.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.