IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.6.0

java.rmi.server
Interface LoaderHandler


Deprecated. no replacement

@Deprecated
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.

Since:
JDK1.1

Field Summary
static String packagePrefix
          Deprecated. package of system LoaderHandler implementation.
 
Method Summary
 Object getSecurityContext(ClassLoader loader)
          Deprecated. no replacement
 Class<?> loadClass(String name)
          Deprecated. no replacement
 Class<?> loadClass(URL codebase, String name)
          Deprecated. no replacement
 

Field Detail

packagePrefix

static final String packagePrefix
Deprecated. 
package of system LoaderHandler implementation.

See Also:
Constant Field Values
Method Detail

loadClass

@Deprecated
Class<?> loadClass(String name)
                   throws MalformedURLException,
                          ClassNotFoundException
Deprecated. no replacement

Loads a class from the location specified by the java.rmi.server.codebase property.

Parameters:
name - the name of the class to load
Returns:
the Class object representing the loaded class
Throws:
MalformedURLException - if the system property java.rmi.server.codebase contains an invalid URL
ClassNotFoundException - if a definition for the class could not be found at the codebase location.
Since:
JDK1.1

loadClass

@Deprecated
Class<?> loadClass(URL codebase,
                              String name)
                   throws MalformedURLException,
                          ClassNotFoundException
Deprecated. no replacement

Loads a class from a URL.

Parameters:
codebase - the URL from which to load the class
name - the name of the class to load
Returns:
the Class object representing the loaded class
Throws:
MalformedURLException - if the codebase paramater contains an invalid URL
ClassNotFoundException - if a definition for the class could not be found at the specified URL
Since:
JDK1.1

getSecurityContext

@Deprecated
Object getSecurityContext(ClassLoader loader)
Deprecated. no replacement

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
Since:
JDK1.1

Copyright 2003 Sun Microsystems, Inc. All rights reserved