Top Fields Constructors Methods
org.jboss.modules

pack-priv final Class ServiceResourceLoader

extends AbstractResourceLoader
Class Inheritance
Imports
java.io.IOException, java.net.URL, java.util.Collection, .Collections, .Iterator, .List, .Map

Field Summary

Modifier and TypeField and Description
private static final String
private final Map<String, URLConnectionResource>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static URLConnectionResource
public Collection<String>
public Resource
getResource(final String
the resource name
name
)

Overrides org.jboss.modules.AbstractResourceLoader.getResource.

Implements org.jboss.modules.ResourceLoader.getResource.

Get a resource with the given name.
Inherited from org.jboss.modules.AbstractResourceLoader:
getClassSpecgetLibrarygetPackageSpecgetPackageSpecgetRootName

Field Detail

PREFIXback to summary
private static final String PREFIX
servicesMapback to summary
private final Map<String, URLConnectionResource> servicesMap

Constructor Detail

ServiceResourceLoaderback to summary
pack-priv ServiceResourceLoader(final Map<String, URLConnectionResource> map)

Method Detail

createResourceback to summary
pack-priv static URLConnectionResource createResource(List<String> implNames)
getPathsback to summary
public Collection<String> getPaths()

Overrides org.jboss.modules.AbstractResourceLoader.getPaths.

Implements org.jboss.modules.ResourceLoader.getPaths.

Doc from org.jboss.modules.ResourceLoader.getPaths.

Get the collection of resource paths. Called one time only when the resource loader is initialized. The paths should use "/" characters to separate the path segments.

Returns:Collection<String>

the resource paths

Annotations
@Override
getResourceback to summary
public Resource getResource(final String name)

Overrides org.jboss.modules.AbstractResourceLoader.getResource.

Implements org.jboss.modules.ResourceLoader.getResource.

Doc from org.jboss.modules.ResourceLoader.getResource.

Get a resource with the given name. If no such resource is available, null is returned. The resource name will always be specified using "/" separators for the directory segments.

Parameters
name:String

the resource name

Returns:Resource

the resource, or null if it is not available

Annotations
@Override