xref: /titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/VBClassLoader.java (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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  * @(#) VBClassLoader.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 THE SOFTWARE, EITHER EXPRESS OR IMPLIED,
38  * INCLUDING BUT NOT LIMITED
39  * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
40  * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE
41  * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF
42  * USING, MODIFYING OR
43  * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
44  */
45 
46 package sunsoft.jws.visual.rt.base;
47 
48 import java.lang.Class;
49 
50 public class VBClassLoader implements CustomClassLoader {
51     /**
52      * This method is called to load a class indicated by the
53      * className argument.
54      *
55      * @param   className  the name of the class to load
56      */
loadClass(String className)57     public Class loadClass(String className)
58 	throws ClassNotFoundException {
59         Class c = Class.forName(className);
60         return (c);
61     }
62 }
63