FileDocCategorySizeDatePackage
LoaderHandler.javaAPI DocJava SE 5 API2492Fri Aug 26 14:57:12 BST 2005java.rmi.server

LoaderHandler

public interface LoaderHandler
LoaderHandler is an interface used internally by the RMI runtime in previous implementation versions. It should never be accessed by application code.
version
1.18, 05/18/04
author
Ann Wollrath
since
JDK1.1
deprecated
no replacement

Fields Summary
static final String
packagePrefix
package of system LoaderHandler implementation.
Constructors Summary
Methods Summary
public java.lang.ObjectgetSecurityContext(java.lang.ClassLoader loader)
Returns the security context of the given class loader.

param
loader a class loader from which to get the security context
return
the security context
since
JDK1.1
deprecated
no replacement

public java.lang.ClassloadClass(java.lang.String name)
Loads a class from the location specified by the java.rmi.server.codebase property.

param
name the name of the class to load
return
the Class object representing the loaded class
exception
MalformedURLException if the system property java.rmi.server.codebase contains an invalid URL
exception
ClassNotFoundException if a definition for the class could not be found at the codebase location.
since
JDK1.1
deprecated
no replacement

public java.lang.ClassloadClass(java.net.URL codebase, java.lang.String name)
Loads a class from a URL.

param
codebase the URL from which to load the class
param
name the name of the class to load
return
the Class object representing the loaded class
exception
MalformedURLException if the codebase paramater contains an invalid URL
exception
ClassNotFoundException if a definition for the class could not be found at the specified URL
since
JDK1.1
deprecated
no replacement