Skip to content
aloiscochard edited this page Aug 19, 2011 · 7 revisions

Sindi is a lightweight IoC container for Scala.

  • Bindings are immutable once defined during application/modules initialization
  • No global bindings repository
    • Bindings are stored in Contexts
    • Contexts are passed implicity thru modules hierarchy
    • The injector hierarchy is created when first injection occurs (lazy)
    • Bindings can be overriden at any level but only during initialization
  • Compiler plugin to validate modules definitions before run-time (optional)
    • Module dependencies are checked during compilation ensuring every injected types are bound
  • Modules can takes type parameter (generic)

Remarks

Sindi Is Not a Dependency Injector

Next steps

Let's Getting Started!