org.jvnet.hk2.junit
Annotation Type Hk2RunnerOptions


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Hk2RunnerOptions

Provide options for tuning the behavior of the Hk2Runner.

Author:
Jeff Trent
See Also:
Hk2Runner

Optional Element Summary
 java.lang.Class<? extends HabitatFactory> habitatFactory
          Alternative Habitat Factory from the default
 boolean reinitializePerTest
          Flag indicating whether the habitat (and all injections) are recreated after each Test.
 

reinitializePerTest

public abstract boolean reinitializePerTest
Flag indicating whether the habitat (and all injections) are recreated after each Test.

Default:
false

habitatFactory

public abstract java.lang.Class<? extends HabitatFactory> habitatFactory
Alternative Habitat Factory from the default

Default:
org.jvnet.hk2.component.HabitatFactory.class


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