|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.util.ClassLoaderUtil
public final class ClassLoaderUtil
This class is used to create classloader for JBI components.
| Method Summary | |
|---|---|
static java.net.URLClassLoader |
createClassLoader(java.lang.String rootPath,
java.lang.ClassLoader parent)
Return an URLClassLoader object, with the root path directory and all Jar contained in the given directory path. |
static java.net.URL[] |
getUrls(java.lang.String directoryName)
Returns an URL[] table, with the root path directory and all Jar contained in the given directory path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.net.URL[] getUrls(java.lang.String directoryName)
directoryName - directory containing the Jars
public static java.net.URLClassLoader createClassLoader(java.lang.String rootPath,
java.lang.ClassLoader parent)
rootPath - directory containing the Jarsparent - the parent classloader to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||