1 /*
2 * Copyright (c) 2005-2007 Creative Sphere Limited.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Creative Sphere - initial API and implementation
11 *
12 */
13 package org.abstracthorizon.extend.server.support;
14
15 import java.io.IOException;
16 import java.net.URL;
17 import java.util.Enumeration;
18
19 /**
20 * Class loader need to implement this in order to avoid delegation process (through parent class loader).
21 *
22 * @author Daniel Sendula
23 */
24 public interface LocalClassLoader {
25
26 Class<?> loadLocalClass(String name) throws ClassNotFoundException;
27
28 URL getLocalResource(String name);
29
30 Enumeration<URL> getLocalResources(String name) throws IOException;
31 }