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 String |
PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
Class<?> |
classForName(String name)
Creates a class from a given FQCN
|
URL |
getResource(String name)
Gets a resource as a URL by name
|
Collection<URL> |
getResources(String name)
Gets resources as URLs by name
|
static final String PROPERTY_NAME
Class<?> classForName(String name)
name
- The name of the clsasURL getResource(String name)
name
- The name of the resourceCollection<URL> getResources(String name)
name
- The name of the resourceCopyright © 2008-2015. All Rights Reserved.