edu.ucdavis.rj.VM
Class RemoteLoader_impl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by edu.ucdavis.rj.VM.RemoteLoader_impl
All Implemented Interfaces:
RemoteLoader, java.io.Serializable, java.rmi.Remote

public class RemoteLoader_impl
extends java.rmi.server.UnicastRemoteObject
implements RemoteLoader

See Also:
Serialized Form

Field Summary
private static java.lang.String dotJar
           
(package private)  java.util.Hashtable<java.lang.String,byte[]> hash
           
private static char separatorChar
           
(package private) static long serialVersionUID
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteLoader_impl()
           
 
Method Summary
 byte[] getClass(java.lang.String name)
           
private  byte[] readClass(java.io.InputStream in, int size)
           
private  byte[] readFile(java.lang.String path, java.lang.String classname)
           
private  byte[] readJar(java.lang.String path, java.lang.String classname)
           
 void unregister()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

dotJar

private static final java.lang.String dotJar
See Also:
Constant Field Values

separatorChar

private static final char separatorChar
See Also:
Constant Field Values

hash

java.util.Hashtable<java.lang.String,byte[]> hash
Constructor Detail

RemoteLoader_impl

public RemoteLoader_impl()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

unregister

public void unregister()
                throws java.rmi.RemoteException
Specified by:
unregister in interface RemoteLoader
Throws:
java.rmi.RemoteException

getClass

public byte[] getClass(java.lang.String name)
                throws java.rmi.RemoteException
Specified by:
getClass in interface RemoteLoader
Throws:
java.rmi.RemoteException

readJar

private byte[] readJar(java.lang.String path,
                       java.lang.String classname)
                throws java.io.IOException
Throws:
java.io.IOException

readFile

private byte[] readFile(java.lang.String path,
                        java.lang.String classname)
                 throws java.io.IOException
Throws:
java.io.IOException

readClass

private byte[] readClass(java.io.InputStream in,
                         int size)
                  throws java.io.IOException
Throws:
java.io.IOException