edu.nyu.cs.pdsg.runtime
Class ContainerRMIClassLoaderSpi

java.lang.Object
  extended byjava.rmi.server.RMIClassLoaderSpi
      extended byedu.nyu.cs.pdsg.runtime.ContainerRMIClassLoaderSpi

public class ContainerRMIClassLoaderSpi
extends java.rmi.server.RMIClassLoaderSpi


Field Summary
(package private) static java.util.HashMap classloaderCache
           
 
Constructor Summary
ContainerRMIClassLoaderSpi()
           
 
Method Summary
 java.lang.String getClassAnnotation(java.lang.Class cl)
           
 java.lang.ClassLoader getClassLoader(java.lang.String codebase)
           
 java.lang.Class loadClass(java.lang.String codebase, java.lang.String name, java.lang.ClassLoader defaultLoader)
           
 java.lang.Class loadProxyClass(java.lang.String codebase, java.lang.String[] interfaces, java.lang.ClassLoader defaultLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classloaderCache

static java.util.HashMap classloaderCache
Constructor Detail

ContainerRMIClassLoaderSpi

public ContainerRMIClassLoaderSpi()
Method Detail

getClassAnnotation

public java.lang.String getClassAnnotation(java.lang.Class cl)

getClassLoader

public java.lang.ClassLoader getClassLoader(java.lang.String codebase)
                                     throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

loadClass

public java.lang.Class loadClass(java.lang.String codebase,
                                 java.lang.String name,
                                 java.lang.ClassLoader defaultLoader)
                          throws java.net.MalformedURLException,
                                 java.lang.ClassNotFoundException
Throws:
java.net.MalformedURLException
java.lang.ClassNotFoundException

loadProxyClass

public java.lang.Class loadProxyClass(java.lang.String codebase,
                                      java.lang.String[] interfaces,
                                      java.lang.ClassLoader defaultLoader)
                               throws java.net.MalformedURLException,
                                      java.lang.ClassNotFoundException
Throws:
java.net.MalformedURLException
java.lang.ClassNotFoundException


Copyright (c) 2002-2003 New York University RLAB