Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4950

[DS][RFC-190] Within a component instance for each reference to the same service the same object needs to be injected

    XMLWordPrintableJSON

Details

    Description

      When using reference scope prototype (or prototype_required), when a component instance references the same service multiple time, each reference must use the same service instance rather than a unique instance.

      See DS spec section 122.3.5:

      prototype:
      That is, for a given bound service, each component instance may use a distinct service object but within a component instance all references to the bound service will use the same service object.

      prototype_required:
      That is, for a given bound service, each component instance will use a distinct service object but within a component instance all references to the bound service will use the same service object.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: