org.jvnet.hk2.junit
Annotation Type Hk2RunnerOptions


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

Provide options for tuning the behavior of the Hk2Runner.

Author:
Jeff Trent
See Also:
Hk2Runner

Optional Element Summary
 boolean enableDefaultRunLevelService
          Flag indicating whether the default RunLevelService is enabled by default
 java.lang.Class<? extends HabitatFactory> habitatFactory
          Alternative Habitat Factory from the default
 java.lang.Class<? extends InhabitantsParserFactory> inhabitantsParserFactory
          Alternative Inhabitants Parser 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

enableDefaultRunLevelService

public abstract boolean enableDefaultRunLevelService
Flag indicating whether the default RunLevelService is enabled by default

Default:
true

habitatFactory

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

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

inhabitantsParserFactory

public abstract java.lang.Class<? extends InhabitantsParserFactory> inhabitantsParserFactory
Alternative Inhabitants Parser from the default

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


Copyright © 2011 Oracle Corporation. All Rights Reserved.