Name

RMIClassLoaderSpi

Synopsis

The service-provider interface for impelementing custom RMI class loaders. A concrete subclass of this interface can be used to provide a custom backend to the RMIClassLoader interface. Added as of JDK 1.4.

public abstract class RMIClassLoaderSpi {
// Public Constructors
   public RMIClassLoaderSpi();  
// Public Instance Methods
   public abstract String getClassAnnotation( Class cl);  
   public abstract ClassLoader getClassLoader(
        String codebase) throws java.net.MalformedURLException;  
   public abstract Class loadClass(String codebase, 
        String name, 
        ClassLoader defaultLoader) throws java.net.MalformedURLException, ClassNotFoundException;  
   public abstract Class loadProxyClass(String codebase, 
        String[] interfaces, 
        ClassLoader defaultLoader) throws java.net.MalformedURLException, ClassNotFoundException;  
}

Returned By

RMIClassLoader.getDefaultProviderInstance()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.