Interface ScopedBindingBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void asEagerSingleton()
      Instructs the Injector to eagerly initialize this singleton-scoped binding upon creation.
      void in​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)
      See the EDSL examples at Binder.
      void in​(Scope scope)
      See the EDSL examples at Binder.
    • Method Detail

      • in

        void in​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)
        See the EDSL examples at Binder.
      • 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.