scaldi

package scaldi

Scaldi - is Scala dependency injection library. Basically Scala already have everything you need for dependency injection. But still some things can be made easier. Goal of the project is to provide more standard and easy way to make dependency injection in Scala projects consuming power of the Scala language. With Scaldi you can define your application modules in pure Scala without any annotations or XML.

For more information see: http://olegilyenko.github.com/scaldi/Scaldi.html

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scaldi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AndCondition(conditions: List[Condition]) extends Condition with Product with Serializable

  2. class BindHelper[R] extends CanBeIdentified[BindHelper[R]] with CanBeConditional[BindHelper[R]]

  3. trait Binding extends Identifiable

  4. class BindingException extends RuntimeException

  5. case class BindingLifecycle[-T](initialize: Option[(T) ⇒ Unit] = scala.None, destroy: Option[(T) ⇒ Unit] = scala.None) extends Product with Serializable

  6. trait BindingProvider extends AnyRef

  7. trait BindingWithLifecycle extends Identifiable

  8. class BoundHelper[D] extends CanBeIdentified[BoundHelper[D]] with CanBeConditional[BoundHelper[D]] with CanHaveLifecycle[BoundHelper[D], D]

  9. class ByWord extends AnyRef

  10. trait CanBeConditional[R] extends AnyRef

  11. trait CanBeIdentified[R] extends AnyRef

  12. trait CanBeIdentifier[T] extends AnyRef

    Annotations
    @implicitNotFound( ... )
  13. trait CanCompose[-A, -B, +R] extends AnyRef

    Annotations
    @implicitNotFound( ... )
  14. trait CanHaveLifecycle[H, D] extends AnyRef

  15. trait Condition extends AnyRef

  16. class DynamicModule extends WordBinder with InjectorWithLifecycle[DynamicModule] with OpenInjectable with MutableInjectorUser with ShutdownHookLifecycleManager

  17. trait Freezable extends AnyRef

  18. trait Identifiable extends AnyRef

  19. class IdentifiedWord[+T] extends AnyRef

  20. trait Identifier extends AnyRef

  21. trait ImmutableInjector extends Injector

  22. class ImmutableInjectorAggregation extends Injector

  23. trait Initializeable[I] extends Freezable

  24. case class InjectConstraints[+T](default: Option[() ⇒ T] = scala.None, initialIdentifiers: List[Identifier] = immutable.this.Nil) extends Product with Serializable

  25. class InjectException extends RuntimeException

  26. trait Injectable extends AnyRef

  27. trait Injector extends AnyRef

  28. trait InjectorWithLifecycle[I <: InjectorWithLifecycle[I]] extends Injector with Initializeable[I] with MutableInjector

  29. case class LazyBinding(createFn: Option[() ⇒ Any], identifiers: List[Identifier] = immutable.this.Nil, condition: Option[() ⇒ Condition] = scala.None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty[Any]) extends BindingWithLifecycle with Product with Serializable

  30. trait LifecycleManager extends AnyRef

  31. trait LowPriorityImmutableInjectorComposition extends LowPriorityMutableInjectorComposition

  32. trait LowPriorityMutableInjectorComposition extends AnyRef

  33. trait Module extends ReflectionBinder with WordBinder with InjectorWithLifecycle[Module] with Injectable with MutableInjectorUser with ShutdownHookLifecycleManager

    Standard application module

  34. trait MutableInjector extends Injector

  35. class MutableInjectorAggregation extends InjectorWithLifecycle[MutableInjectorAggregation] with MutableInjectorUser with ShutdownHookLifecycleManager

  36. trait MutableInjectorUser extends MutableInjector

  37. case class NonLazyBinding(createFn: Option[() ⇒ Any], identifiers: List[Identifier] = immutable.this.Nil, condition: Option[() ⇒ Condition] = scala.None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty[Any]) extends BindingWithLifecycle with Product with Serializable

  38. case class NotCondition(condition: Condition) extends Condition with Product with Serializable

  39. trait OpenInjectable extends Injectable

  40. case class OrCondition(conditions: List[Condition]) extends Condition with Product with Serializable

  41. class PropertiesInjector extends RawInjector

  42. case class ProviderBinding(createFn: () ⇒ Any, identifiers: List[Identifier] = immutable.this.Nil, condition: Option[() ⇒ Condition] = scala.None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty[Any]) extends BindingWithLifecycle with Product with Serializable

  43. trait RawInjector extends Injector

  44. trait ReflectionBinder extends AnyRef

  45. trait ShutdownHookLifecycleManager extends LifecycleManager

  46. case class SimpleBinding[T](boundValue: Option[() ⇒ T], identifiers: List[Identifier] = immutable.this.Nil, condition: Option[() ⇒ Condition] = scala.None) extends Binding with Product with Serializable

  47. trait StaticModule extends ReflectionBinder with ImmutableInjector with Injectable

  48. case class StringIdentifier(str: String) extends Identifier with Product with Serializable

  49. case class SysPropCondition(name: String, value: Option[String] = scala.None) extends Condition with Product with Serializable

  50. case class TypeTagIdentifier(tpe: scala.reflect.api.JavaUniverse.Type) extends Identifier with Product with Serializable

  51. trait WordBinder extends AnyRef

Value Members

  1. object Args

  2. object Binding

  3. object BindingLifecycle extends Serializable

  4. object BindingWithLifecycle

  5. object CanBeIdentifier

  6. object Condition

  7. object DynamicModule

  8. object Identifier

  9. object Injectable extends OpenInjectable

  10. object Injector extends LowPriorityImmutableInjectorComposition

  11. object NilInjector extends ImmutableInjector

  12. object PropertiesInjector

  13. object SystemPropertiesInjector extends RawInjector

  14. object TypeTagIdentifier extends Serializable

  15. package util

Inherited from AnyRef

Inherited from Any

Ungrouped