Spec-Zone.ru › OpenJDK 25

Interface LoaderHandler

@Deprecated public interface LoaderHandler
Deprecated.
no replacement
LoaderHandler is an interface used internally by the RMI runtime in previous implementation versions. It should never be accessed by application code.
Since:
1.1

Field Summary

Modifier and Type Field Description
static final String packagePrefix
Deprecated.
package of system LoaderHandler implementation.

Method Summary

Modifier and Type Method Description
Object getSecurityContext(ClassLoader loader)
Deprecated.
no replacement
Class<?> loadClass(String name)
Deprecated.
no replacement
Class<?> loadClass(URL codebase, String name)
Deprecated.
no replacement

Field Details

packagePrefix

static final String packagePrefix
Deprecated.
package of system LoaderHandler implementation.
See Also:
  • Constant Field Values

Method Details

loadClass

@Deprecated Class<?> loadClass(String name) throws MalformedURLException, ClassNotFoundException
Deprecated.
no replacement
Loads a class from the location specified by the java.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 URL
ClassNotFoundException - if a definition for the class could not be found at the codebase location.
Since:
1.1

loadClass

@Deprecated Class<?> loadClass(URL codebase, String name) throws MalformedURLException, ClassNotFoundException
Deprecated.
no replacement
Loads a class from a URL.
Parameters:
codebase - the URL from which to load the class
name - the name of the class to load
Returns:
the Class object representing the loaded class
Throws:
MalformedURLException - if the codebase parameter contains an invalid URL
ClassNotFoundException - if a definition for the class could not be found at the specified URL
Since:
1.1

getSecurityContext

@Deprecated Object getSecurityContext(ClassLoader loader)
Deprecated.
no replacement
Returns 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:
1.1

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, 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/25/docs/api/java.rmi/java/rmi/server/LoaderHandler.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API