Name

LoaderHandler

Synopsis

This defines the interface to the internal handler used by the RMIClassLoader to load classes over the network.

public interface LoaderHandler {
// Public Constants
   public static final String packagePrefix;                     // ="sun.rmi.server”
                  // Deprecated Public Methods
   public abstract Object getSecurityContext(                    // #
        ClassLoader loader);  
   public abstract Class loadClass(                              // #
        String name) throws java.net.MalformedURLException, ClassNotFoundException;  
   public abstract Class loadClass(java.net.URL codebase,        // #
        String name) throws java.net.MalformedURLException, ClassNotFoundException;  
}

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.