|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
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.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.