org.apache.geronimo.kernel.rmi
Class RMIClassLoaderSpiImpl

java.lang.Object
  extended by java.rmi.server.RMIClassLoaderSpi
      extended by org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl

public class RMIClassLoaderSpiImpl
extends RMIClassLoaderSpi

An implementation of RMIClassLoaderSpi which provides normilzation of codebase URLs and delegates to the default RMIClassLoaderSpi.


Nested Class Summary
static interface RMIClassLoaderSpiImpl.ClassLoaderServerAware
           
 
Constructor Summary
RMIClassLoaderSpiImpl()
           
 
Method Summary
 String getClassAnnotation(Class type)
           
 ClassLoader getClassLoader(String codebase)
           
 Class loadClass(String codebase, String name, ClassLoader defaultLoader)
           
 Class loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIClassLoaderSpiImpl

public RMIClassLoaderSpiImpl()
Method Detail

loadClass

public Class loadClass(String codebase,
                       String name,
                       ClassLoader defaultLoader)
                throws MalformedURLException,
                       ClassNotFoundException
Specified by:
loadClass in class RMIClassLoaderSpi
Throws:
MalformedURLException
ClassNotFoundException

loadProxyClass

public Class loadProxyClass(String codebase,
                            String[] interfaces,
                            ClassLoader defaultLoader)
                     throws MalformedURLException,
                            ClassNotFoundException
Specified by:
loadProxyClass in class RMIClassLoaderSpi
Throws:
MalformedURLException
ClassNotFoundException

getClassLoader

public ClassLoader getClassLoader(String codebase)
                           throws MalformedURLException
Specified by:
getClassLoader in class RMIClassLoaderSpi
Throws:
MalformedURLException

getClassAnnotation

public String getClassAnnotation(Class type)
Specified by:
getClassAnnotation in class RMIClassLoaderSpi


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.