|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.util.ClassDataCache
A cache for classes bytecode. It also contains bytecodes of stubs generated by the MOP.
Method Summary | |
void |
addClassData(java.lang.String fullname,
byte[] classData)
Associates classname and bytecode in the cache. |
boolean |
contains(java.lang.String className)
Indicates whether the bytecode for the given class is already in cache. |
byte[] |
getClassData(java.lang.String fullname)
Returns the bytecode for a given class name |
static ClassDataCache |
instance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ClassDataCache instance()
public boolean contains(java.lang.String className)
className
- name of the class
public void addClassData(java.lang.String fullname, byte[] classData)
fullname
- name of the classclassData
- bytecode of the classpublic byte[] getClassData(java.lang.String fullname)
fullname
- the name of the class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |