public interface ResourceLoader extends Service
ResourceLoader is a per-BeanManager service. Single-module deployments can use the default implementation, but
applications that consist of multiple modules must use an implementation that is aware of the module classloader.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_NAME |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
classForName(java.lang.String name)
Creates a class from a given FQCN
|
java.net.URL |
getResource(java.lang.String name)
Gets a resource as a URL by name
|
java.util.Collection<java.net.URL> |
getResources(java.lang.String name)
Gets resources as URLs by name
|
java.lang.Class<?> classForName(java.lang.String name)
name - The name of the clsasjava.net.URL getResource(java.lang.String name)
name - The name of the resourcejava.util.Collection<java.net.URL> getResources(java.lang.String name)
name - The name of the resourceCopyright © 2015. All Rights Reserved.