CONTENTS | PREV | NEXT Java Remote Method Invocation


5.7 The LoaderHandler Interface

package java.rmi.server;

public interface LoaderHandler {

    Class loadClass(String name)
	    throws MalformedURLException, ClassNotFoundException;

    Class loadClass(URL codebase,String name) 
		throws MalformedURLException, ClassNotFoundException;

	Object getSecurityContext(ClassLoader loader);
}



Note - Use the the LoaderHandler is deprecated in JDK1.2.
The LoaderHandler interface must be implemented by a class named LoaderHandler. The LoaderHandler class must be defined in the package specified by the property java.rmi.loader.packagePrefix. The methods of LoaderHandler are used by the java.rmi.server.RMIClassLoader class to carry out its operations.



CONTENTS | PREV | NEXT
Copyright © 1997-1998 Sun Microsystems, Inc. All Rights Reserved.