1 /* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved. 2 * 3 * This program and the accompanying materials are made available under 4 * the terms of the Common Public License v1.0 which accompanies this distribution, 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 6 * 7 * $Id: IClassLoadStrategy.java,v 1.1.1.1 2004/05/09 16:57:52 vlad_r Exp $ 8 */ 9 package com.vladium.util; 10 11 // ---------------------------------------------------------------------------- 12 /** 13 * The interface implemented by any classloader selection Strategy used 14 * with {@link ClassLoaderResolver} API. 15 * 16 * @author Vlad Roubtsov, (C) 2003 17 */ 18 public 19 interface IClassLoadStrategy 20 { 21 // public: ................................................................ 22 23 /** 24 * Selects a classloader based on a given load context. 25 * 26 * @see ClassLoaderResolver#getClassLoader() 27 */ getClassLoader(ClassLoadContext ctx)28 ClassLoader getClassLoader (ClassLoadContext ctx); 29 30 } // end of interface 31 // ----------------------------------------------------------------------------