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] = None, destroy: Option[(T) ⇒ Unit] = None) extends Product with Serializable

  6. trait BindingWithLifecycle extends Identifiable

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

  8. class ByWord extends AnyRef

  9. trait CanBeConditional[R] extends AnyRef

  10. trait CanBeIdentified[R] extends AnyRef

  11. trait CanBeIdentifier[T] extends AnyRef

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

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

  14. trait Condition extends AnyRef

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

  16. trait Freezable extends AnyRef

  17. trait Identifiable extends AnyRef

  18. class IdentifiedWord[+T] extends AnyRef

  19. trait Identifier extends AnyRef

  20. trait ImmutableInjector extends Injector

  21. class ImmutableInjectorAggregation extends Injector

  22. class ImmutableWrapper extends Injector with ImmutableInjector

  23. trait Initializeable[I] extends Freezable

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

  25. class InjectException extends RuntimeException

  26. trait Injectable extends Wire

  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] = Nil, condition: Option[() ⇒ Condition] = None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty) 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 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] = Nil, condition: Option[() ⇒ Condition] = None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty) 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] = Nil, condition: Option[() ⇒ Condition] = None, lifecycle: BindingLifecycle[Any] = BindingLifecycle.empty) extends BindingWithLifecycle with Product with Serializable

  43. case class RawBinding(value: Any, identifiers: List[Identifier]) extends Binding with Product with Serializable

  44. trait RawInjector extends Injector

  45. case class RequiredIdentifier(delegate: Identifier, isRequired: Boolean) extends Identifier with Product with Serializable

  46. trait ShutdownHookLifecycleManager extends LifecycleManager

  47. case class SimpleBinding[T](boundValue: Option[() ⇒ T], identifiers: List[Identifier] = Nil, condition: Option[() ⇒ Condition] = None, cacheable: Boolean = false, eager: Boolean = false) extends Binding with Product with Serializable

  48. class SimpleContainerInjector extends MutableInjectorUser with InjectorWithLifecycle[SimpleContainerInjector] with ShutdownHookLifecycleManager

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

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

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

  52. class TypesafeConfigInjector extends RawInjector

  53. trait Wire extends AnyRef

  54. class WireBuilder extends AnyRef

  55. trait WordBinder extends AnyRef

  56. case class WordBindingProvider[T](bindingFn: (List[Identifier], Option[() ⇒ Condition], BindingLifecycle[Any]) ⇒ BindingWithLifecycle) extends Product with Serializable

  57. trait BindingProvider extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5) BindingProvider is deprecated and will be removed soon. As an alternative you can use ImmutableWrapper injector to define an immutability boundary in composition or create your own injector that is marked as ImmutableInjector.

  58. trait ReflectionBinder extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5) ReflectionBinder is deprecated and will be removed soon. As an alternative you can use WordBinder or create your own injector that is marked as ImmutableInjector.

  59. trait StaticModule extends ReflectionBinder with ImmutableInjector with Injectable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.5) StaticModule is deprecated and will be removed soon. As an alternative you can use ImmutableWrapper injector to define an immutability boundary in composition or create your own injector that is marked as ImmutableInjector.

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 ImmutableWrapper

  10. object Injectable extends OpenInjectable

  11. object Injector extends LowPriorityImmutableInjectorComposition

  12. object NilInjector extends ImmutableInjector

  13. object PropertiesInjector

  14. object SystemPropertiesInjector extends RawInjector

  15. object TypeTagIdentifier extends Serializable

  16. object TypesafeConfigInjector

  17. object WireBuilder

  18. package jsr330

  19. package util

Inherited from AnyRef

Inherited from Any

Ungrouped