Interface java.rmi.server.LoaderHandler
All Packages Class Hierarchy This Package Previous Next Index
Interface java.rmi.server.LoaderHandler
- public interface LoaderHandler
-
packagePrefix
- Find loader handler package prefix: assumes that the implementation of
the LoaderHandler class is located in the package defined by the
prefix.
-
getSecurityContext(ClassLoader)
- Returns the security context of the given class loader
(e.g., a URL)
-
loadClass(String)
- Load class using java.rmi.server.codebase property.
-
loadClass(URL, String)
- Load class from codebase URL specified.
packagePrefix
public static final java.lang.String packagePrefix
- Find loader handler package prefix: assumes that the implementation of
the LoaderHandler class is located in the package defined by the
prefix.
getSecurityContext
public abstract java.lang.Object getSecurityContext(ClassLoader loader)
- Returns the security context of the given class loader
(e.g., a URL)
loadClass
public abstract java.lang.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.
loadClass
public abstract java.lang.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.
All Packages Class Hierarchy This Package Previous Next Index