com.avast.syringe.config.perspective

DecoratingBuilder

trait DecoratingBuilder[+T] extends Builder[T]

This builder is able to decorate instances. It also recognizes cyclic referencing and tries to cope with it.

User: slajchrt Date: 12/2/12 Time: 6:08 PM

Linear Supertypes
Builder[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DecoratingBuilder
  2. Builder
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addPropertyResolver(resolver: PropertyResolver): DecoratingBuilder.this.type

    Definition Classes
    Builder
  2. abstract def decorateWith[D >: T](decorator: ⇒ Builder[D]): DecoratingBuilder.this.type

    Definition Classes
    Builder
  3. abstract def delegateWith[D <: com.avast.syringe.aop.Interceptor[_]](provider: Delegation[D]): DecoratingBuilder.this.type

    Definition Classes
    Builder
  4. abstract def getInstanceName: String

    Definition Classes
    Builder
  5. abstract def getModule: Module

    Definition Classes
    Builder
  6. abstract def getPropertyValueConverter: PropertyValueConverter

    Definition Classes
    Builder
  7. abstract def makeClone(cloneName: String = null): DecoratingBuilder.this.type

    Definition Classes
    Builder
  8. abstract def setValueConverter(converter: PropertyValueConverter): DecoratingBuilder.this.type

    Definition Classes
    Builder
  9. abstract def syringeAllowMultiInjection: DecoratingBuilder.this.type

    Allow multiple injections of single property (mainly for testing purposes).

    Allow multiple injections of single property (mainly for testing purposes). In case of multiple injections, the last one will be applied.

    Definition Classes
    Builder

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def build[D >: T]: D

    Because of the possibility of cyclic references we have to solve this quite complex initialization.

    Because of the possibility of cyclic references we have to solve this quite complex initialization.

    Definition Classes
    DecoratingBuilderBuilder
  8. def circular(isOk: Boolean): DecoratingBuilder.this.type

  9. def circularOk: DecoratingBuilder.this.type

    By calling this method the user gives permission to use the unfinished (worked-out, not-fully initialized) instance.

    By calling this method the user gives permission to use the unfinished (worked-out, not-fully initialized) instance. The instance cannot be fully initialized because of the detected cycle in referencing builders.

  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def decorateInstance[D >: T](firstDecorated: D): D

    Attributes
    protected
  12. def delegateInstance[D >: T](origDelegated: D): D

    Attributes
    protected
  13. def delegateInstance2[D >: T](origDelegated: D): D

    Attributes
    protected
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  18. def getInstanceClass: java.lang.Class[_]

    Definition Classes
    Builder
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def initialize: DecoratingBuilder.this.type

    Called after this builder instance is created.

    Called after this builder instance is created. The main purpose is to solve the problem with initialization in traits that cannot access this builder's state during the construction phase since the traits are initialized before the descendants types (i.e. the main builder class too) @return

    Definition Classes
    Builder
  21. def initializeInstance[D >: T](instance: D): D

    Attributes
    protected
  22. def isCircularOk: Boolean

  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def postConstruct(): Unit

    See "initialize"

    See "initialize"

    Attributes
    protected
    Definition Classes
    Builder
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Builder[T]

Inherited from AnyRef

Inherited from Any