KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectstyle > cayenne > modeler > ClassLoadingService


1 package org.objectstyle.cayenne.modeler;
2
3 /**
4  * An interface defining a service for locating external Java resources.
5  *
6  * @author Andrei Adamchik
7  */

8 public interface ClassLoadingService {
9
10     /**
11      * Returns Java ClassLoader that knows how to load all classes configured for this
12      * service.
13      */

14     public ClassLoader JavaDoc getClassLoader();
15
16     /**
17      * Returns a class for given class name.
18      */

19     public Class JavaDoc loadClass(String JavaDoc className) throws ClassNotFoundException JavaDoc;
20 }
Popular Tags