| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
static String |
packagePrefix
package of system LoaderHandler implementation. |
Method Summary | |
---|---|
Object |
getSecurityContext(ClassLoader loader) Returns the security context of the given class loader. |
Class |
Loads a class from the location specified by the java.rmi.server.codebase property.
|
Class |
Loads a class from a URL. |
Field Detail |
---|
public static final String packagePrefix
LoaderHandler
implementation.
Method Detail |
---|
public Object getSecurityContext(ClassLoader loader)
loader
- a class loader from which to get the security contextpublic 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.public 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
paramater
contains an invalid URLClassNotFoundException
- if a definition for the class could not
be found at the specified URL
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |