org.jvnet.hk2.junit
Class Hk2TestServices

java.lang.Object
  extended by org.jvnet.hk2.junit.Hk2TestServices

public class Hk2TestServices
extends java.lang.Object

Services available to junit tests running with the Hk2Runner runner.

Author:
Jerome Dochez

Constructor Summary
Hk2TestServices()
           
Hk2TestServices(java.lang.Class<? extends HabitatFactory> habitatFactoryClass)
           
 
Method Summary
 Habitat getHabitat()
           
 Habitat newHabitat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hk2TestServices

public Hk2TestServices()

Hk2TestServices

public Hk2TestServices(java.lang.Class<? extends HabitatFactory> habitatFactoryClass)
Method Detail

getHabitat

public Habitat getHabitat()

newHabitat

public Habitat newHabitat()
                   throws ComponentException
Throws:
ComponentException


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.