|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LoaderHandler
is an interface used internally by the RMI
runtime in previous implementation versions. It should never be accessed
by application code.
Field Summary | |
static String |
packagePrefix
Deprecated. package of system LoaderHandler implementation. |
Method Summary | |
Object |
getSecurityContext(ClassLoader loader)
Deprecated. no replacement |
Class |
loadClass(String name)
Deprecated. no replacement |
Class |
loadClass(URL codebase,
String name)
Deprecated. no replacement |
Field Detail |
public static final String packagePrefix
LoaderHandler
implementation.
Method Detail |
public Class loadClass(String name) throws MalformedURLException, ClassNotFoundException
java.rmi.server.codebase
property.
name
- the name of the class to load
Class
object representing the loaded class
MalformedURLException
- if the system property java.rmi.server.codebase
contains an invalid URL
ClassNotFoundException
- if a definition for the class could not
be found at the codebase location.public Class loadClass(URL codebase, String name) throws MalformedURLException, ClassNotFoundException
codebase
- the URL from which to load the classname
- the name of the class to load
Class
object representing the loaded class
MalformedURLException
- if the codebase
paramater
contains an invalid URL
ClassNotFoundException
- if a definition for the class could not
be found at the specified URLpublic Object getSecurityContext(ClassLoader loader)
loader
- a class loader from which to get the security context
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.