Trait/Object

scaldi

BindingWithLifecycle

Related Docs: object BindingWithLifecycle | package scaldi

Permalink

trait BindingWithLifecycle extends Identifiable

Bindings with lifecycle may have initialization and destruction handlers

Linear Supertypes
Identifiable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BindingWithLifecycle
  2. Identifiable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def condition: Option[() ⇒ Condition]

    Permalink

    Stores condition for binding.

    Stores condition for binding. Used for conditional binding

    returns

    Option with function returning condition

    Definition Classes
    Identifiable
  2. abstract def get(lifecycleManager: LifecycleManager): Option[Any]

    Permalink

    Retrieves stored binding's value, used during binding lookup during injection.

    Retrieves stored binding's value, used during binding lookup during injection. If equals to None, binding is considered undefined

    lifecycleManager

    LifecycleManager that will handle the destruction of the binding at the end of the lifecycle

    returns

    Option with binding's value (or None if the binding is undefined)

  3. abstract def identifiers: List[Identifier]

    Permalink
    Definition Classes
    Identifiable
  4. abstract def lifecycle: BindingLifecycle[Any]

    Permalink

    Bindings with lifecycle should have BindingLifecycle attached to them

    Bindings with lifecycle should have BindingLifecycle attached to them

    returns

    BindingLifecycle current binding's lifecycle

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. def isCacheable: Boolean

    Permalink

    Specifies if binding is cacheable False by default

    Specifies if binding is cacheable False by default

    returns

    Boolean true if binding is cacheable, false otherwise

    Definition Classes
    Identifiable
  12. def isDefinedFor(desiredIdentifiers: List[Identifier]): Boolean

    Permalink
    Definition Classes
    Identifiable
  13. def isEager: Boolean

    Permalink

    Defines if binding is lazy or not False by default

    Defines if binding is lazy or not False by default

    returns

    Boolean true if not lazy, false otherwise

    Definition Classes
    Identifiable
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped