com.google.inject.binder

Interface ScopedBindingBuilder

    • Method Detail

      • in

        void in(Scope scope)
        See the EDSL examples at Binder.
      • asEagerSingleton

        void asEagerSingleton()
        Instructs the Injector to eagerly initialize this singleton-scoped binding upon creation. Useful for application initialization logic. See the EDSL examples at Binder.

Copyright © 2006–2020 Google, Inc.. All rights reserved.