Java Platform 1.2
Beta 4

Interface java.rmi.server.LoaderHandler


Deprecated. No replacement

public abstract interface LoaderHandler
LoaderHandler is an interface used internally by the RMI runtime in previous implementation versions. It should never be accessed by application code.

Since:
JDK1.1

Field Summary
static String packagePrefix
          Deprecated. package of system LoaderHandler implementation
 
Method Summary
 Object getSecurityContext(ClassLoader loader)
          Deprecated. Return the security context of the given class loader.
 Class loadClass(String name)
          Deprecated. Load a class from the location specified by the java.rmi.server.codebase property.
 Class loadClass(URL codebase, String name)
          Deprecated. Load a class from a URL.
 

Field Detail

packagePrefix

public static final String packagePrefix
Deprecated. 
package of system LoaderHandler implementation
Method Detail

loadClass

public Class loadClass(String name)
                throws MalformedURLException,
                       ClassNotFoundException
Deprecated. 
Load a class from the location specified by the java.rmi.server.codebase property.
Parameters:
name - the name of the class to load
Returns:
the Class object representing the loaded class
Throws:
MalformedURLException - The system property java.rmi.server.codebase contains an invalid URL.
ClassNotFoundException - A definition for the class could not be found at the codebase location.

loadClass

public Class loadClass(URL codebase,
                       String name)
                throws MalformedURLException,
                       ClassNotFoundException
Deprecated. 
Load a class from a URL.
Parameters:
codebase - the URL from which to load the class
name - the name of the class to load
Returns:
the Class object representing the loaded class
Throws:
MalformedURLException - The codebase paramater contains an invalid URL.
ClassNotFoundException - A definition for the class could not be found at the specified URL.

getSecurityContext

public Object getSecurityContext(ClassLoader loader)
Deprecated. 
Return the security context of the given class loader.
Parameters:
loader - a class loader from which to get the security context
Returns:
the security context

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.