org.objectweb.proactive.core.mop
Class MOPClassLoader
java.lang.Object
|
+--java.lang.ClassLoader
|
+--java.security.SecureClassLoader
|
+--java.net.URLClassLoader
|
+--org.objectweb.proactive.core.mop.MOPClassLoader
- public class MOPClassLoader
- extends java.net.URLClassLoader
Methods inherited from class java.net.URLClassLoader |
addURL, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
defineClass |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE_CODE_MANIPULATOR
public static java.lang.String BYTE_CODE_MANIPULATOR
classDataCache
protected static java.util.Hashtable classDataCache
mopCl
protected static MOPClassLoader mopCl
getMOPClassLoader
public static MOPClassLoader getMOPClassLoader()
- Return the unique MOPClassLoader for the current JVM
Create it if it does not exist
getClassData
public byte[] getClassData(java.lang.String classname)
- Get the bytecode of a stub given its name. If the stub can not be found
the cache, the MOPClassLoader tries to generate it.
- Parameters:
classname
- The name of the stub class
- Returns:
- An array representing the bytecode of the stub, null if the
stub could not be found or created
launchMain
public void launchMain(java.lang.String[] args)
throws java.lang.Throwable
java.lang.Throwable
createMOPClassLoader
protected static MOPClassLoader createMOPClassLoader()
findClass
protected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Overrides:
findClass
in class java.net.URLClassLoader
java.lang.ClassNotFoundException
loadClass
public java.lang.Class loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Overrides:
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
loadClass
public java.lang.Class loadClass(java.lang.String name,
java.lang.ClassLoader cl)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
loadClass
protected java.lang.Class loadClass(java.lang.String name,
java.lang.ClassLoader cl,
boolean resolve)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
Copyright © April 2004 INRIA All Rights Reserved.