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 | Class and Description |
---|---|
class |
ClassifyingModuleLoader
A module loader which selects a delegate module loader based upon the prefix of the module name.
|
class |
LocalModuleLoader
A local filesystem-backed module loader.
|
Modifier and Type | Method and Description |
---|---|
static ModuleLoader |
ModuleLoader.forClass(Class<?> clazz)
Get the module loader for a class.
|
static ModuleLoader |
ModuleLoader.forClassLoader(ClassLoader classLoader)
Get the module loader for a class loader.
|
static ModuleLoader |
Module.getBootModuleLoader()
Gets the boot module loader.
|
static ModuleLoader |
Module.getCallerModuleLoader()
Gets the current module loader.
|
static ModuleLoader |
Module.getContextModuleLoader()
Get the current thread's context module loader.
|
ModuleLoader |
ModuleDependencySpec.getModuleLoader()
Get the module loader of this dependency, or
null if the defined module's loader is to be used. |
ModuleLoader |
Module.getModuleLoader()
Get the module loader which created this module.
|
Modifier and Type | Method and Description |
---|---|
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,
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.
|
ModuleSpec |
LocalModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader) |
ModuleSpec |
JarModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader) |
ModuleSpec |
ModuleFinder.findModule(ModuleIdentifier identifier,
ModuleLoader delegateLoader)
Find a module specification for the given identifier.
|
static ModuleSpec |
LocalModuleFinder.parseModuleXmlFile(ModuleIdentifier identifier,
ModuleLoader delegateLoader,
File... roots)
Parse a
module.xml file and return the corresponding module specification. |
protected static Module |
ModuleLoader.preloadModule(ModuleIdentifier identifier,
ModuleLoader moduleLoader)
Utility method to delegate to another module loader, accessible from subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassifyingModuleLoader.setDelegates(Map<String,ModuleLoader> delegates)
Change the delegates map.
|
Constructor and Description |
---|
ClassifyingModuleLoader(String name,
Map<String,ModuleLoader> delegates,
ModuleLoader defaultLoader)
Construct a new instance.
|
Constructor and Description |
---|
ClassifyingModuleLoader(String name,
Map<String,ModuleLoader> delegates,
ModuleLoader defaultLoader)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
NoopModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
JDKModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
ModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
void |
StreamModuleLogger.moduleDefined(ModuleIdentifier identifier,
ModuleLoader moduleLoader) |
Constructor and Description |
---|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
String className,
String targetName,
String permissionActions)
Construct a new instance.
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.