com.googlecode.refit.cdi
Class CdiFixtureLoader

java.lang.Object
  extended by fit.FixtureLoader
      extended by com.googlecode.refit.cdi.CdiFixtureLoader

public class CdiFixtureLoader
extends FixtureLoader

A fixture loader which performs CDI dependency injection on all fixtures.

Author:
Harald Wellmann

Constructor Summary
CdiFixtureLoader()
           
 
Method Summary
 Fixture createFixture(Class<?> klass)
          Creates an instance of a fixture class and performs CDI dependency injection.
 
Methods inherited from class fit.FixtureLoader
getInstance, loadFixture, loadFixtureClass, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiFixtureLoader

public CdiFixtureLoader()
Method Detail

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.