|
Préférences
Moteurs de recherche
|
|||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
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 |
|---|
static final String packagePrefix
LoaderHandler implementation.
| Method Detail |
|---|
@Deprecated 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.@Deprecated 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 URL@Deprecated Object getSecurityContext(ClassLoader loader)
loader - a class loader from which to get the security context