org.codehaus.mojo.fit
Class FixtureClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.codehaus.mojo.fit.FixtureClassLoader
public class FixtureClassLoader
- extends URLClassLoader
Extends URLClassLoader to instantiate Fixture classes.
- Author:
- Mauro Talevi
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixtureClassLoader
public FixtureClassLoader()
FixtureClassLoader
public FixtureClassLoader(List classpathElements)
throws MalformedURLException
- Throws:
MalformedURLException
FixtureClassLoader
public FixtureClassLoader(URL[] urls)
FixtureClassLoader
public FixtureClassLoader(URL[] urls,
ClassLoader parent)
newFixture
public fit.Fixture newFixture(String fixtureName)
throws InstantiationException,
IllegalAccessException
- Loads and instantiates a Fixture
- Parameters:
fixtureName
- the name of the Fixture
- Returns:
- A new Fixture instance
- Throws:
InstantiationException
IllegalAccessException
toClasspathURLs
protected static URL[] toClasspathURLs(List classpathElements)
throws MalformedURLException
- Throws:
MalformedURLException
Copyright © 2006-2011 Codehaus. All Rights Reserved.