Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.rmi.server.LoaderHandler


public interface LoaderHandler

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

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

Field Detail

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.
Method Detail

loadClass

public Class loadClass(String name) throws MalformedURLException, ClassNotFoundException
Load class using java.rmi.server.codebase property.
Throws:
ClassNotFoundException - if the class could not be found.
MalformedURLException - if the URL is malformed.

loadClass

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

getSecurityContext

public Object getSecurityContext(ClassLoader loader)
Returns the security context of the given class loader (e.g., a URL)

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.