Deprecated: no replacement. As of the Java 2 platform v1.2, RMI no
longer uses this method to obtain a class loader's security context.
Returns the security context of the given class loader.
Parameters:
loader | | a class loader from which to get the security context |
Returns: the security context
See also:
java.lang.SecurityManager.getSecurityContext()
Deprecated: replaced by loadClass(String,String) method
Loads the class with the specified name.
This method delegates to loadClass(String,String),
passing null as the first argument and
name as the second argument.
Parameters:
name | | the name of the class to load |
Returns: the Class object representing the loaded class
Exceptions:
MalformedURLException | | if a provider-specific URL used
to load classes is invalid |
ClassNotFoundException | | if a definition for the class
could not be found at the codebase location |
See also:
loadClass(String,String)