@Deprecated 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.
| Modifier and Type | Field and Description |
|---|---|
static String |
packagePrefix
Deprecated.
package of system
LoaderHandler implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getSecurityContext(ClassLoader
Deprecated.
no replacement
|
Class |
loadClass(String
Deprecated.
no replacement
|
Class |
loadClass(URL
Deprecated.
no replacement
|
static final StringpackagePrefix
LoaderHandler implementation.
@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 class
name - 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 ObjectgetSecurityContext(ClassLoader loader)
loader - a class loader from which to get the security context