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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.package of systemLoaderHandlerimplementation. -
Method Summary
Modifier and TypeMethodDescriptiongetSecurityContext(ClassLoader loader) Deprecated.no replacementClass<?> Deprecated.no replacementClass<?> Deprecated.no replacement
-
Field Details
-
packagePrefix
Deprecated.package of systemLoaderHandlerimplementation.- See Also:
-
-
Method Details
-
loadClass
Deprecated.no replacementLoads a class from the location specified by thejava.rmi.server.codebaseproperty.- Parameters:
name- the name of the class to load- Returns:
- the
Classobject representing the loaded class - Throws:
MalformedURLException- 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.- Since:
- 1.1
-
loadClass
@Deprecated Class<?> loadClass(URL codebase, String name) throws MalformedURLException, ClassNotFoundException Deprecated.no replacementLoads a class from a URL.- Parameters:
codebase- the URL from which to load the classname- the name of the class to load- Returns:
- the
Classobject representing the loaded class - Throws:
MalformedURLException- if thecodebaseparameter contains an invalid URLClassNotFoundException- if a definition for the class could not be found at the specified URL- Since:
- 1.1
-
getSecurityContext
Deprecated.no replacementReturns 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
-