1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * ident "%Z%%M% %I% %E% SMI" 24 * 25 * @(#) CustomClassLoader.java 1.1 - last change made 04/25/97 26 * 27 * Copyright (c) 1995, 2001 by Sun Microsystems, Inc. 28 * All rights reserved. 29 * 30 * Permission to use, copy, modify, and distribute this software 31 * and its documentation for NON-COMMERCIAL purposes and without 32 * fee is hereby granted provided that this copyright notice 33 * appears in all copies. Please refer to the file "copyright.html" 34 * for further important copyright and licensing information. 35 * 36 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE 37 * SUITABILITY OF 38 * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT 39 * LIMITED 40 * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 41 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 42 * SUN SHALL NOT BE LIABLE FOR 43 * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT 44 * OF USING, MODIFYING OR 45 * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. 46 */ 47 48 package sunsoft.jws.visual.rt.base; 49 50 import java.lang.Class; 51 52 public interface CustomClassLoader { 53 /** 54 * This method is called to load a class indicated by the 55 * className argument. 56 * 57 * @param className the name of the class to load 58 */ loadClass(String className)59 Class loadClass(String className) throws ClassNotFoundException; 60 } 61