com.googlecode.refit.cdi
Class CdiFixtureLoader
java.lang.Object
fit.FixtureLoader
com.googlecode.refit.cdi.CdiFixtureLoader
public class CdiFixtureLoader
- extends FixtureLoader
A fixture loader which performs CDI dependency injection on all fixtures.
- Author:
- Harald Wellmann
|
Method Summary |
Fixture |
createFixture(Class<?> klass)
Creates an instance of a fixture class and performs CDI dependency injection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CdiFixtureLoader
public CdiFixtureLoader()
createFixture
public Fixture createFixture(Class<?> klass)
throws InstantiationException,
IllegalAccessException
- Creates an instance of a fixture class and performs CDI dependency injection.
- Overrides:
createFixture in class FixtureLoader
- Parameters:
fixtureClassName - name of fixture class
- Throws:
InstantiationException
IllegalAccessException
Copyright © 2011. All Rights Reserved.