@Override protected void configure() { bind(ConfigurationDocumentation.class).in(Scopes.SINGLETON); bindScope(LazySingleton.class, LazySingletonScope.get()); bindScope(FineGrainedLazySingleton.class, FineGrainedLazySingletonScope.get()); bootstrapBinder = new BootstrapBinder(binder(), stage, mode, modules, actions, transformers, disableAutoBinding); if ( bootstrapModules != null ) { for (BootstrapModule bootstrapModule : bootstrapModules) { bootstrapModule.configure(bootstrapBinder); } } bind(com.netflix.governator.LifecycleManager.class).in(Scopes.SINGLETON); binder().bind(LifecycleManagerArguments.class).in(Scopes.SINGLETON); binder().bind(LifecycleManager.class).asEagerSingleton(); binder().bind(LifecycleConfigurationProviders.class).toProvider(LifecycleConfigurationProvidersProvider.class).asEagerSingleton(); this.stage = bootstrapBinder.getStage(); this.mode = bootstrapBinder.getMode(); }