@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Bootstrap(bootstrap=GovernatorBootstrap.class) public @interface GovernatorConfiguration
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<? extends PostInjectorAction>[] |
actions
Actions to perform after the injector is created
|
boolean |
enableAutoBindSingleton
Turn on class path scanning for @AutoBindSingleton
|
LifecycleInjectorMode |
mode
Simulated child injectors is the prefered mode but can be changed here
back to REAL_CHILD_INJECTORS.
|
com.google.inject.Stage |
stage
Change the
Stage for the main injector. |
java.lang.Class<? extends ModuleTransformer>[] |
transformers
ModuleTransform operations to perform on the final list of modules |
public abstract boolean enableAutoBindSingleton
public abstract com.google.inject.Stage stage
Stage for the main injector. By default we use DEVELOPMENT
stage is it provides the most deterministic behavior for transitive lazy
singleton instantiation.public abstract LifecycleInjectorMode mode
public abstract java.lang.Class<? extends PostInjectorAction>[] actions
public abstract java.lang.Class<? extends ModuleTransformer>[] transformers
ModuleTransform operations to perform on the final list of modules