|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.runtime.RemoteJist.RemoteRepository
public static class RemoteJist.RemoteRepository
An RMI-based remote BCEL repository.
| Field Summary | |
|---|---|
private java.util.HashMap |
cache
Hashmap of loaded classes. |
private java.io.PrintStream |
out
Local server output stream. |
private RemoteJist.ResourceFinderRemote |
resources
Remote resource finder. |
| Constructor Summary | |
|---|---|
RemoteJist.RemoteRepository(RemoteJist.ResourceFinderRemote resources,
java.io.PrintStream out)
Create new remote BCEL repository. |
|
| Method Summary | |
|---|---|
void |
clear()
|
org.apache.bcel.classfile.JavaClass |
findClass(java.lang.String classname)
|
org.apache.bcel.classfile.JavaClass |
loadClass(java.lang.Class cl)
|
org.apache.bcel.classfile.JavaClass |
loadClass(java.lang.String className)
|
void |
removeClass(org.apache.bcel.classfile.JavaClass clazz)
|
void |
storeClass(org.apache.bcel.classfile.JavaClass clazz)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private RemoteJist.ResourceFinderRemote resources
private java.util.HashMap cache
private java.io.PrintStream out
| Constructor Detail |
|---|
public RemoteJist.RemoteRepository(RemoteJist.ResourceFinderRemote resources,
java.io.PrintStream out)
resources - remote resource finderout - local server output stream| Method Detail |
|---|
public void storeClass(org.apache.bcel.classfile.JavaClass clazz)
storeClass in interface org.apache.bcel.util.Repositorypublic void removeClass(org.apache.bcel.classfile.JavaClass clazz)
removeClass in interface org.apache.bcel.util.Repositorypublic org.apache.bcel.classfile.JavaClass findClass(java.lang.String classname)
findClass in interface org.apache.bcel.util.Repository
public org.apache.bcel.classfile.JavaClass loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
loadClass in interface org.apache.bcel.util.Repositoryjava.lang.ClassNotFoundException
public org.apache.bcel.classfile.JavaClass loadClass(java.lang.Class cl)
throws java.lang.ClassNotFoundException
loadClass in interface org.apache.bcel.util.Repositoryjava.lang.ClassNotFoundExceptionpublic void clear()
clear in interface org.apache.bcel.util.Repository
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||