Class RTIComponentLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--RTIComponentLoader

public class RTIComponentLoader
extends java.lang.ClassLoader
implements DebugFlags

It will load the given class name.


Inner classes inherited from class java.lang.ClassLoader
java.lang.ClassLoader.NativeLibrary
 
Field Summary
protected  java.util.Hashtable classes
           
protected  java.lang.String path
           
protected  java.util.Hashtable servlets
           
 
Fields inherited from class java.lang.ClassLoader
bootstrapClassPath, classes, defaultDomain, defaultPermissions, getClassLoaderPerm, initialized, loadedLibraryNames, nativeLibraries, nativeLibraryContext, packages, parent, scl, sclSet, sys_paths, systemNativeLibraries, usr_paths
 
Constructor Summary
RTIComponentLoader(java.lang.String _path)
           
 
Method Summary
 java.lang.Class loadClass(java.lang.String className)
          This is a simple version for external clients since they will always want the class resolved before it is returned to them.
 java.lang.Class loadClass(java.lang.String className, boolean resolveIt)
          This is the required version of loadClass which is called both from loadClass above and from the internal function FindClassFromClass.
protected  byte[] loadClassData(java.lang.String className)
          This sample function for reading class implementations reads them from the local file system
 RTIComponent loadObject(java.lang.String string)
           
 RTIComponent loadRTIComponentObject(java.lang.String string)
           
 
Methods inherited from class java.lang.ClassLoader
, addClass, check, defineClass, defineClass, defineClass, defineClass0, definePackage, findBootstrapClass, findClass, findLibrary, findLoadedClass, findNative, findResource, findResources, findSystemClass, getBootstrapClassPath, getBootstrapResource, getBootstrapResources, getCallerClassLoader, getDefaultDomain, getGetClassLoaderPerm, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, initializePath, isAncestor, loadLibrary, loadLibrary0, resolveClass, resolveClass0, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

classes

protected java.util.Hashtable classes

servlets

protected java.util.Hashtable servlets

path

protected java.lang.String path
Constructor Detail

RTIComponentLoader

public RTIComponentLoader(java.lang.String _path)
Method Detail

loadRTIComponentObject

public RTIComponent loadRTIComponentObject(java.lang.String string)

loadObject

public RTIComponent loadObject(java.lang.String string)

loadClass

public java.lang.Class loadClass(java.lang.String className)
                          throws java.lang.ClassNotFoundException
This is a simple version for external clients since they will always want the class resolved before it is returned to them.
Overrides:
loadClass in class java.lang.ClassLoader

loadClass

public java.lang.Class loadClass(java.lang.String className,
                                 boolean resolveIt)
                          throws java.lang.ClassNotFoundException,
                                 java.lang.ClassFormatError
This is the required version of loadClass which is called both from loadClass above and from the internal function FindClassFromClass.
Overrides:
loadClass in class java.lang.ClassLoader

loadClassData

protected byte[] loadClassData(java.lang.String className)
                        throws java.lang.ClassNotFoundException
This sample function for reading class implementations reads them from the local file system