Uses of Class
org.jboss.modules.ModuleIdentifier
-
Packages that use ModuleIdentifier Package Description __redirected org.jboss.modules The primary JBoss Modules API.org.jboss.modules.log The logging interface for JBoss Modules.org.jboss.modules.security org.jboss.modules.xml -
-
Uses of ModuleIdentifier in __redirected
Methods in __redirected with parameters of type ModuleIdentifier Modifier and Type Method Description static void
__JAXPRedirected. changeAll(ModuleIdentifier id, ModuleLoader loader)
Change all provided factories to the ones contained in the specified module using the standard META-INF/services lookup pattern.static void
__DatatypeFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__DocumentBuilderFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__SAXParserFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__SchemaFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__TransformerFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__XMLEventFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__XMLInputFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__XMLOutputFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__XMLReaderFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
__XPathFactory. changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
(package private) static <T> java.lang.Class<? extends T>
__RedirectedUtils. loadProvider(ModuleIdentifier id, java.lang.Class<T> intf, ModuleLoader moduleLoader)
(package private) static <T> java.lang.Class<? extends T>
__RedirectedUtils. loadProvider(ModuleIdentifier id, java.lang.Class<T> intf, ModuleLoader moduleLoader, java.lang.String name)
-
Uses of ModuleIdentifier in org.jboss.modules
Fields in org.jboss.modules declared as ModuleIdentifier Modifier and Type Field Description private ModuleIdentifier
AliasModuleSpec. aliasTarget
static ModuleIdentifier
ModuleIdentifier. CLASSPATH
The class path module (only present if booted from a class path).private ModuleIdentifier
Module. identifier
The identifier of this module.private ModuleIdentifier
ModuleDependency. identifier
private ModuleIdentifier
ModuleDependencySpec. identifier
(package private) ModuleIdentifier
ModuleLoader.FutureModule. identifier
private ModuleIdentifier
ModuleSpec. moduleIdentifier
private ModuleIdentifier
JarModuleFinder. myIdentifier
private ModuleIdentifier
JarModuleLoader. myIdentifier
Fields in org.jboss.modules with type parameters of type ModuleIdentifier Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<ModuleIdentifier,ModuleLoader.FutureModule>
ModuleLoader. moduleMap
Methods in org.jboss.modules that return ModuleIdentifier Modifier and Type Method Description static ModuleIdentifier
ModuleIdentifier. create(java.lang.String name)
Creates a new module identifier using the specified name.static ModuleIdentifier
ModuleIdentifier. create(java.lang.String name, java.lang.String slot)
Creates a new module identifier using the specified name and slot.static ModuleIdentifier
ModuleIdentifier. fromString(java.lang.String moduleSpec)
Parse a module specification from a string.ModuleIdentifier
AliasModuleSpec. getAliasTarget()
ModuleIdentifier
ModuleSpec.AliasBuilder. getAliasTarget()
Get the identifier of the module being referenced by this builder.ModuleIdentifier
Module. getIdentifier()
Get this module's identifier.(package private) ModuleIdentifier
ModuleDependency. getIdentifier()
ModuleIdentifier
ModuleDependencySpec. getIdentifier()
Get the module identifier of the dependency.ModuleIdentifier
ModuleSpec.AliasBuilder. getIdentifier()
Get the identifier of the module being defined by this builder.ModuleIdentifier
ModuleSpec.Builder. getIdentifier()
Get the identifier of the module being defined by this builder.ModuleIdentifier
ModuleSpec. getModuleIdentifier()
Get the module identifier for the module which is specified by this object.(package private) ModuleIdentifier
JarModuleLoader. getMyIdentifier()
private static ModuleIdentifier
JarModuleLoader. simpleNameOf(java.util.jar.JarFile jarFile)
Methods in org.jboss.modules that return types with arguments of type ModuleIdentifier Modifier and Type Method Description java.util.Iterator<ModuleIdentifier>
IterableModuleFinder. iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Iterate the modules which can be located via this module finder.java.util.Iterator<ModuleIdentifier>
ModuleLoader. iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Iterate the modules which can be located via this module loader.Methods in org.jboss.modules with parameters of type ModuleIdentifier Modifier and Type Method Description static java.lang.String
ModuleXmlUtil. baseDirectory(ModuleIdentifier identifier)
Creates a path name from the module identifier with the defaultFile.separator
character.static java.lang.String
ModuleXmlUtil. baseDirectory(ModuleIdentifier identifier, java.lang.String separator)
Creates a path name from the module identifier.static java.lang.String
ModuleXmlUtil. baseFilename(java.lang.String name, java.lang.String separator, ModuleIdentifier identifier)
Creates a path name to the module XMLstatic java.lang.String
ModuleXmlUtil. baseFilename(java.lang.String name, ModuleIdentifier identifier)
Creates a path name to the module XML file from the module identifier.static java.lang.String
ModuleXmlUtil. baseFilename(ModuleIdentifier identifier)
Creates a path name to the module XML file from the module identifier.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(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.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 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(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.boolean
ModuleIdentifier. equals(ModuleIdentifier other)
Determine whether this object is equal to another.protected Module
ModuleLoader. findLoadedModuleLocal(ModuleIdentifier identifier)
Find an already-loaded module, returningnull
if the module isn't currently loaded.protected ModuleSpec
ClassifyingModuleLoader. findModule(ModuleIdentifier moduleIdentifier)
Find a Module's specification in this ModuleLoader by its identifier.protected ModuleSpec
ClassPathModuleLoader. findModule(ModuleIdentifier moduleIdentifier)
ModuleSpec
JarModuleFinder. findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader)
ModuleSpec
LocalModuleFinder. findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader)
ModuleSpec
ModuleFinder. findModule(ModuleIdentifier identifier, ModuleLoader delegateLoader)
Find a module specification for the given identifier.protected ModuleSpec
ModuleLoader. findModule(ModuleIdentifier moduleIdentifier)
Find a Module's specification in this ModuleLoader by its identifier.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.java.util.Iterator<ModuleIdentifier>
IterableModuleFinder. iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Iterate the modules which can be located via this module finder.java.util.Iterator<ModuleIdentifier>
ModuleLoader. iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
Iterate the modules which can be located via this module loader.static java.lang.Class<?>
Module. loadClassFromBootModuleLoader(ModuleIdentifier moduleIdentifier, java.lang.String className)
Load a class from a module in the system module loader.static java.lang.Class<?>
Module. loadClassFromCallerModuleLoader(ModuleIdentifier moduleIdentifier, java.lang.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> java.util.ServiceLoader<S>
Module. loadServiceFromCallerModuleLoader(ModuleIdentifier identifier, java.lang.Class<S> serviceType)
Load a service loader from a module in the caller's module loader.static ModuleSpec
LocalModuleFinder. parseModuleXmlFile(ModuleIdentifier identifier, ModuleLoader delegateLoader, java.io.File... roots)
Parse amodule.xml
file and return the corresponding module specification.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
ClassPathModuleLoader. preloadModule(ModuleIdentifier identifier)
protected Module
JarModuleLoader. preloadModule(ModuleIdentifier 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.private static void
DependencyTreeViewer. print(java.io.PrintWriter out, java.lang.String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
static void
DependencyTreeViewer. print(java.io.PrintWriter out, ModuleIdentifier identifier, java.io.File... roots)
Print the dependency tree for the given module with the given module root list.static java.io.File
ModuleXmlUtil. toFile(java.io.File dir, java.lang.String name, ModuleIdentifier identifier)
Creates a file based on the directory and the module identifier.static java.io.File
ModuleXmlUtil. toFile(java.io.File dir, ModuleIdentifier identifier)
Creates a file based on the directory and the module identifier.private static java.lang.String
LocalModuleFinder. toPathString(ModuleIdentifier moduleIdentifier)
Method parameters in org.jboss.modules with type arguments of type ModuleIdentifier Modifier and Type Method Description private static void
DependencyTreeViewer. print(java.io.PrintWriter out, java.lang.String prefix, DependencySpec spec, FastCopyHashSet<ModuleIdentifier> visited, boolean last, java.io.File... roots)
private static void
DependencyTreeViewer. print(java.io.PrintWriter out, java.lang.String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
private static void
DependencyTreeViewer. print(java.io.PrintWriter out, java.lang.String prefix, ModuleSpec spec, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
Constructors in org.jboss.modules with parameters of type ModuleIdentifier Constructor Description AliasModuleSpec(ModuleIdentifier moduleIdentifier, ModuleIdentifier aliasTarget)
ConcreteModuleSpec(ModuleIdentifier moduleIdentifier, java.lang.String mainClass, AssertionSetting assertionSetting, ResourceLoaderSpec[] resourceLoaders, DependencySpec[] dependencies, LocalLoader fallbackLoader, ModuleClassLoaderFactory moduleClassLoaderFactory, java.lang.instrument.ClassFileTransformer classFileTransformer, java.util.Map<java.lang.String,java.lang.String> properties, java.security.PermissionCollection permissionCollection)
FutureModule(ModuleIdentifier identifier)
JarModuleFinder(ModuleIdentifier myIdentifier, java.util.jar.JarFile jarFile)
Construct a new instance.ModuleDependency(PathFilter exportFilter, PathFilter importFilter, PathFilter resourceExportFilter, PathFilter resourceImportFilter, ClassFilter classExportFilter, ClassFilter classImportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleDependency(PathFilter exportFilter, PathFilter importFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleSpec(ModuleIdentifier moduleIdentifier)
-
Uses of ModuleIdentifier in org.jboss.modules.log
Methods in org.jboss.modules.log with parameters of type ModuleIdentifier Modifier and Type Method Description void
JDKModuleLogger. moduleDefined(ModuleIdentifier identifier, ModuleLoader moduleLoader)
void
ModuleLogger. moduleDefined(ModuleIdentifier identifier, ModuleLoader moduleLoader)
void
NoopModuleLogger. moduleDefined(ModuleIdentifier identifier, ModuleLoader moduleLoader)
void
StreamModuleLogger. moduleDefined(ModuleIdentifier identifier, ModuleLoader moduleLoader)
-
Uses of ModuleIdentifier in org.jboss.modules.security
Fields in org.jboss.modules.security declared as ModuleIdentifier Modifier and Type Field Description private ModuleIdentifier
ModularPermissionFactory. moduleIdentifier
Constructors in org.jboss.modules.security with parameters of type ModuleIdentifier Constructor Description ModularPermissionFactory(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, java.lang.String className, java.lang.String targetName, java.lang.String permissionActions)
Construct a new instance. -
Uses of ModuleIdentifier in org.jboss.modules.xml
Methods in org.jboss.modules.xml with parameters of type ModuleIdentifier Modifier and Type Method Description private static XmlPullParserException
ModuleXmlParser. invalidModuleName(XmlPullParser reader, ModuleIdentifier expected)
private static ModuleSpec
ModuleXmlParser. parseDocument(MavenResolver mavenResolver, ModuleXmlParser.ResourceRootFactory factory, java.lang.String rootPath, XmlPullParser reader, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)
private static void
ModuleXmlParser. parseGrant(XmlPullParser reader, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, java.util.ArrayList<PermissionFactory> list)
private static void
ModuleXmlParser. parseModuleAbsentContents(XmlPullParser reader, ModuleIdentifier moduleIdentifier)
private static ModuleSpec
ModuleXmlParser. parseModuleAliasContents(XmlPullParser reader, ModuleIdentifier moduleIdentifier)
private static void
ModuleXmlParser. parseModuleContents(MavenResolver mavenResolver, XmlPullParser reader, ModuleXmlParser.ResourceRootFactory factory, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, ModuleSpec.Builder specBuilder, java.lang.String rootPath)
static ModuleSpec
ModuleXmlParser. parseModuleXml(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, java.io.File root, java.io.File moduleInfoFile)
Parse amodule.xml
file.static ModuleSpec
ModuleXmlParser. parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, java.lang.String rootPath, java.io.InputStream source, java.lang.String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)
Parse amodule.xml
file.static ModuleSpec
ModuleXmlParser. parseModuleXml(ModuleXmlParser.ResourceRootFactory factory, MavenResolver mavenResolver, java.lang.String rootPath, java.io.InputStream source, java.lang.String moduleInfoFile, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)
Parse amodule.xml
file.private static void
ModuleXmlParser. parsePermissions(XmlPullParser reader, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, ModuleSpec.Builder specBuilder)
private static ModuleSpec
ModuleXmlParser. parseRootElement(MavenResolver mavenResolver, ModuleXmlParser.ResourceRootFactory factory, java.lang.String rootPath, XmlPullParser reader, ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier)
-