|
Préférences
Moteurs de recherche
|
|||||||||||||
| JavaTM 2 Platform Std. Ed. v1.4.2
java.rmi.server
|
||||||||||||||
| 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