jist.runtime
Class RemoteJist.RemoteRepository

java.lang.Object
  extended by jist.runtime.RemoteJist.RemoteRepository
All Implemented Interfaces:
java.io.Serializable, org.apache.bcel.util.Repository
Enclosing class:
RemoteJist

public static class RemoteJist.RemoteRepository
extends java.lang.Object
implements org.apache.bcel.util.Repository

An RMI-based remote BCEL repository.

See Also:
Serialized Form

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.util.ClassPath getClassPath()
           
 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
 

Constructor Detail

RemoteJist.RemoteRepository

public RemoteJist.RemoteRepository(RemoteJist.ResourceFinderRemote resources,
                                   java.io.PrintStream out)
Create new remote BCEL repository.

Parameters:
resources - remote resource finder
out - local server output stream
Method Detail

getClassPath

public org.apache.bcel.util.ClassPath getClassPath()
Specified by:
getClassPath in interface org.apache.bcel.util.Repository

storeClass

public void storeClass(org.apache.bcel.classfile.JavaClass clazz)

Specified by:
storeClass in interface org.apache.bcel.util.Repository

removeClass

public void removeClass(org.apache.bcel.classfile.JavaClass clazz)

Specified by:
removeClass in interface org.apache.bcel.util.Repository

findClass

public org.apache.bcel.classfile.JavaClass findClass(java.lang.String classname)

Specified by:
findClass in interface org.apache.bcel.util.Repository

loadClass

public org.apache.bcel.classfile.JavaClass loadClass(java.lang.String className)
                                              throws java.lang.ClassNotFoundException

Specified by:
loadClass in interface org.apache.bcel.util.Repository
Throws:
java.lang.ClassNotFoundException

loadClass

public org.apache.bcel.classfile.JavaClass loadClass(java.lang.Class cl)
                                              throws java.lang.ClassNotFoundException

Specified by:
loadClass in interface org.apache.bcel.util.Repository
Throws:
java.lang.ClassNotFoundException

clear

public void clear()

Specified by:
clear in interface org.apache.bcel.util.Repository