Package | Description |
---|---|
org.jboss.modules |
The primary JBoss Modules API.
|
org.jboss.modules.maven | |
org.jboss.modules.xml |
Modifier and Type | Interface and Description |
---|---|
interface |
IterableResourceLoader
A resource loader which has the ability to enumerate its contents.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceLoader
An abstract resource loader implementation.
|
(package private) class |
FileResourceLoader |
(package private) class |
FilteredIterableResourceLoader |
(package private) class |
FilteredResourceLoader |
(package private) class |
JarFileResourceLoader |
class |
NativeLibraryResourceLoader
A base class for resource loaders which can load native libraries.
|
Modifier and Type | Field and Description |
---|---|
private ResourceLoader |
FilteredResourceLoader.loader |
private ResourceLoader |
ResourceLoaderSpec.resourceLoader |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<Paths<ResourceLoader,ResourceLoaderSpec>> |
ModuleClassLoader.paths |
Modifier and Type | Method and Description |
---|---|
static ResourceLoader |
ResourceLoaders.createFileResourceLoader(java.lang.String name,
java.io.File root)
Create a filesystem-backed resource loader with support for native libraries.
|
static ResourceLoader |
ResourceLoaders.createFilteredResourceLoader(PathFilter pathFilter,
ResourceLoader originalLoader)
Create a filtered view of a resource loader, which allows classes to be included or excluded on a name basis.
|
static ResourceLoader |
ResourceLoaders.createJarResourceLoader(java.lang.String name,
java.util.jar.JarFile jarFile)
Create a JAR-backed resource loader.
|
(package private) ResourceLoader |
ResourceLoaderSpec.getResourceLoader() |
(package private) ResourceLoader[] |
ModuleClassLoader.getResourceLoaders() |
Modifier and Type | Method and Description |
---|---|
static ResourceLoader |
ResourceLoaders.createFilteredResourceLoader(PathFilter pathFilter,
ResourceLoader originalLoader)
Create a filtered view of a resource loader, which allows classes to be included or excluded on a name basis.
|
static ResourceLoaderSpec |
ResourceLoaderSpec.createResourceLoaderSpec(ResourceLoader resourceLoader)
Construct a new instance which accepts all paths in the resource loader.
|
static ResourceLoaderSpec |
ResourceLoaderSpec.createResourceLoaderSpec(ResourceLoader resourceLoader,
PathFilter pathFilter)
Construct a new instance.
|
private java.lang.Class<?> |
ModuleClassLoader.defineClass(java.lang.String name,
ClassSpec classSpec,
ResourceLoader resourceLoader)
Define a class from a class name and class spec.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
ModuleClassLoader.setResourceLoaders(Paths<ResourceLoader,ResourceLoaderSpec> paths,
ResourceLoaderSpec[] resourceLoaders) |
Constructor and Description |
---|
FilteredResourceLoader(PathFilter filter,
ResourceLoader loader) |
ResourceLoaderSpec(ResourceLoader resourceLoader,
PathFilter pathFilter) |
Modifier and Type | Method and Description |
---|---|
static ResourceLoader |
MavenArtifactUtil.createMavenArtifactLoader(MavenResolver mavenResolver,
java.lang.String name)
A utility method to create a Maven artifact resource loader for the given artifact name.
|
static ResourceLoader |
MavenArtifactUtil.createMavenArtifactLoader(java.lang.String name)
A utility method to create a Maven artifact resource loader for the given artifact name.
|
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
ModuleXmlParser.ResourceRootFactory.createResourceLoader(java.lang.String rootPath,
java.lang.String loaderPath,
java.lang.String loaderName) |