@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 | Description |
---|---|---|
static final String |
packagePrefix |
Deprecated. package of system LoaderHandler implementation. |
Modifier and Type | Method | Description |
---|---|---|
Object |
getSecurityContext |
Deprecated. no replacement |
Class |
loadClass |
Deprecated. no replacement |
Class |
loadClass |
Deprecated. no replacement |
static final String packagePrefix
LoaderHandler
implementation.@Deprecated Class<?> loadClass(String name) throws MalformedURLException, ClassNotFoundException
java.rmi.server.codebase
property.name
- the name of the class to loadClass
object representing the loaded classMalformedURLException
- 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.@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 loadClass
object representing the loaded classMalformedURLException
- if the codebase
parameter contains an invalid URLClassNotFoundException
- 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
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.rmi/java/rmi/server/LoaderHandler.html