org.apache.geronimo.system.rmi
Class RMIClassLoaderSpiImpl

java.lang.Object
  extended byjava.rmi.server.RMIClassLoaderSpi
      extended byorg.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl

public class RMIClassLoaderSpiImpl
extends RMIClassLoaderSpi

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

Version:
$Rev: 409112 $ $Date: 2006-05-24 12:23:45 +0200 (Wed, 24 May 2006) $

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
Throws:
MalformedURLException
ClassNotFoundException

loadProxyClass

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

getClassLoader

public ClassLoader getClassLoader(String codebase)
                           throws MalformedURLException
Throws:
MalformedURLException

getClassAnnotation

public String getClassAnnotation(Class type)


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