|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wsm.policy.util.Loader
public class Loader
Utility class for loading resource or classes.
Resources/classes are retrieved from class loaders in the following order:
Field Summary | |
---|---|
static String |
EXTENSION_LIBRARY Shared library from which extension resources or classes will be loaded. |
Constructor Summary | |
---|---|
Loader() |
Method Summary | |
---|---|
static URL |
getResource(String resource) Get URL for resource from available loaders. |
static URL |
getResource(String resource, boolean useSystemLoader) Get URL for resource from available loaders. |
static Enumeration<URL> |
getResources(String resource) Get list of URL's for resource from available loaders. |
static Enumeration<URL> |
getResources(String resource, boolean useSystemLoader) Get list of URL's for resource from available loaders. |
static Class |
loadClass(String className) Load a class from available loaders. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EXTENSION_LIBRARY
Constructor Detail |
---|
public Loader()
Method Detail |
---|
public static URL getResource(String resource)
resource
- resource to getpublic static URL getResource(String resource, boolean useSystemLoader)
resource
- resource to getuseSystemLoader
- whether to include system loader in searchpublic static Enumeration<URL> getResources(String resource)
resource
- resource to getpublic static Enumeration<URL> getResources(String resource, boolean useSystemLoader)
resource
- resource to getuseSystemLoader
- whether to include system loader in searchpublic static Class loadClass(String className) throws ClassNotFoundException
className
- class to loadClassNotFoundException
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |