org.objectweb.jonathan.libs.kernel

Class ClassPathFinderImpl

Implemented Interfaces:
ClassPathFinder

public class ClassPathFinderImpl
extends java.lang.Object
implements ClassPathFinder

Jonathan: an Open Distributed Processing Environment Copyright (C) 2001 Kelua SA This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact: jonathan@objectweb.org Author: Bruno Dumant ----------------------------------------------------------------- $Id: ClassPathFinderImpl.java,v 1.1.1.1 2002/08/06 13:13:49 bmi Exp $ -----------------------------------------------------------------

Field Summary

static ClassLoader
system_class_loader

Constructor Summary

ClassPathFinderImpl(ClassLoader _class_loader)

Method Summary

Class
findClass(String class_name)
InputStream
findResource(String _name)
ClassLoader
getClassLoader()
static Class
loadSystemClass(String class_name)

Field Details

system_class_loader

public static ClassLoader system_class_loader

Constructor Details

ClassPathFinderImpl

public ClassPathFinderImpl(ClassLoader _class_loader)

Method Details

findClass

public Class findClass(String class_name)
Specified by:
findClass in interface ClassPathFinder


findResource

public InputStream findResource(String _name)
Specified by:
findResource in interface ClassPathFinder


getClassLoader

public ClassLoader getClassLoader()


loadSystemClass

public static Class loadSystemClass(String class_name)