站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档

Interface java.rmi.server.LoaderHandler - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.rmi.server.LoaderHandler

public interface LoaderHandler

Variable Index

 o packagePrefix
Find loader handler package prefix: assumes that the implementation of the LoaderHandler class is located in the package defined by the prefix.

Method Index

 o getSecurityContext(ClassLoader)
Returns the security context of the given class loader (e.g., a URL)
 o loadClass(String)
Load class using java.rmi.server.codebase property.
 o loadClass(URL, String)
Load class from codebase URL specified.

Variables

 o packagePrefix
 public static final String packagePrefix
Find loader handler package prefix: assumes that the implementation of the LoaderHandler class is located in the package defined by the prefix.

Methods

 o loadClass
 public abstract Class loadClass(String name) throws MalformedURLException, ClassNotFoundException
Load class using java.rmi.server.codebase property.

Throws: ClassNotFoundException
if the class could not be found.
Throws: MalformedURLException
if the URL is malformed.
 o loadClass
 public abstract Class loadClass(URL codebase,
                                 String name) throws MalformedURLException, ClassNotFoundException
Load class from codebase URL specified.

Throws: ClassNotFoundException
if the class could not be found.
Throws: MalformedURLException
if the URL is malformed.
 o getSecurityContext
 public abstract Object getSecurityContext(ClassLoader loader)
Returns the security context of the given class loader (e.g., a URL)


All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.