-
Deprecated.no replacement
@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.- Since:
- JDK1.1
-
-
Field Summary
Fields Modifier and Type Field and Description static String
packagePrefix
Deprecated.package of systemLoaderHandler
implementation.
-
Method Summary
Methods Modifier and Type Method and Description Object
getSecurityContext(ClassLoader loader)
Deprecated.no replacementClass<?>
loadClass(String name)
Deprecated.no replacementClass<?>
loadClass(URL codebase, String name)
Deprecated.no replacement
-
-
-
Field Detail
-
packagePrefix
static final String packagePrefix
Deprecated.package of systemLoaderHandler
implementation.- See Also:
- Constant Field Values
-
-
Method Detail
-
loadClass
@Deprecated Class<?> loadClass(String name) throws MalformedURLException, ClassNotFoundException
Deprecated. no replacementLoads a class from the location specified by thejava.rmi.server.codebase
property.- Parameters:
name
- the name of the class to load- Returns:
- the
Class
object representing the loaded class - Throws:
MalformedURLException
- if the system property java.rmi.server.codebase contains an invalid URLClassNotFoundException
- if a definition for the class could not be found at the codebase location.- Since:
- JDK1.1
-
loadClass
@Deprecated Class<?> loadClass(URL codebase, String name) throws MalformedURLException, ClassNotFoundException
Deprecated. no replacementLoads a class from a URL.- Parameters:
codebase
- the URL from which to load the classname
- the name of the class to load- Returns:
- the
Class
object representing the loaded class - Throws:
MalformedURLException
- if thecodebase
paramater contains an invalid URLClassNotFoundException
- if a definition for the class could not be found at the specified URL- Since:
- JDK1.1
-
getSecurityContext
@Deprecated Object getSecurityContext(ClassLoader loader)
Deprecated. no replacementReturns the security context of the given class loader.- Parameters:
loader
- a class loader from which to get the security context- Returns:
- the security context
- Since:
- JDK1.1
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/server/loaderhandler.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.