|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader net.sf.xbus.base.core.reflection.XBUSClassLoader
public class XBUSClassLoader
XBUSClassLoader
manages an URLClassLoader
, that
loads all jar-files under XBUS_HOME/lib
,
XBUS_HOME/lib/runtime
and XBUS_HOME/plugin/lib
. All
*Bootstrap classes use this URLClassLoader
to start the
functionality of the xBus. For this reason, only the library
xbus-bootstrap.jar
must be in the CLASSPATH
when
starting the xBus.
Method Summary | |
---|---|
static XBUSClassLoader |
getInstance(java.lang.ClassLoader parent)
Returns an instance of the URLClassLoader , that loads all
jar files under XBUS_HOME/lib ,
XBUS_HOME/lib/runtime and XBUS_HOME/plugin/lib . |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static XBUSClassLoader getInstance(java.lang.ClassLoader parent)
URLClassLoader
, that loads all
jar files under XBUS_HOME/lib
,
XBUS_HOME/lib/runtime
and XBUS_HOME/plugin/lib
.
The first call will initialize the URLClassLoader
.
parent
- the parent ClassLoader
URLClassLoader
suitable for the xBus
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |