|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface Hk2RunnerOptions
Provide options for tuning the behavior of the Hk2Runner.
Hk2Runner| Optional Element Summary | |
|---|---|
Class<? extends FileFilter> |
classpathFilter
A filter that can be used to optimally select the set of jars (and directories) that contributes to habitat production, filtering out the irrelevant ones. |
boolean |
enableDefaultRunLevelService
Flag indicating whether the default RunLevelService is enabled by default |
boolean |
enableRunLevelConstraints
Flag indicating whether the standard RunLevel constraints are enabled by default |
Class<? extends HabitatFactory> |
habitatFactory
Alternative Habitat Factory from the default |
Class<? extends InhabitantsParserFactory> |
inhabitantsParserFactory
Alternative Inhabitants Parser from the default |
Class<? extends Module> |
module
The Module to automatically include in the habitat. |
boolean |
reinitializePerTest
Flag indicating whether the habitat (and all injections) are recreated after each Test. |
public abstract boolean reinitializePerTest
Test.
public abstract boolean enableDefaultRunLevelService
public abstract boolean enableRunLevelConstraints
public abstract Class<? extends HabitatFactory> habitatFactory
public abstract Class<? extends InhabitantsParserFactory> inhabitantsParserFactory
public abstract Class<? extends FileFilter> classpathFilter
Note that while the declaration is generic enough to support any FileFilter, the implementation
also supports the use of full ClassPathAdvisor interface.
public abstract Class<? extends Module> module
Module to automatically include in the habitat.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||