NanoContainer
  1. NanoContainer
  2. NANO-166

Support of nested CAFs in XMLContainerBuilder

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-RC3
    • Fix Version/s: 1.0
    • Component/s: xml
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Some major functionality in Pico can only be achieved if components can be registered with nested CAFs. The current implementation supports only CAFs, that can be used directly, but none of the wrapper implementations.

        Activity

        Hide
        Jörg Schaible added a comment -

        Currently implemented using a hierarchical XML syntaxm, that reflects the nesting. Might change to a flat XML structure though (not yet finally decided).

        Impleemented:

        <component-adapter-factory key="special" class="o.p.d.CachingCAF">
        <component-adapter-factory class="o.p.d.CICA">
        <parameter><boolean>true</boolean></parameter>
        </component-adapter-factory>
        <parameter factory='o.n.s.x.XStreamComponentInstanceFactory'>
        <o.p.g.a.ThreadLocalReference />
        </parameter>
        </component-adapter-factory>

        Proposed for flat syntax:

        <component-adapter-factory key="CICAF" class="o.p.d.CICA">
        <parameter><boolean>true</boolean></parameter>
        </component-adapter-factory>
        <component-adapter-factory key="special" class="o.p.d.CachingCAF">
        <parameter key="CICAF"/>
        <parameter factory='o.n.s.x.XStreamComponentInstanceFactory'>
        <o.p.g.a.ThreadLocalReference />
        </parameter>
        </component-adapter-factory>

        Show
        Jörg Schaible added a comment - Currently implemented using a hierarchical XML syntaxm, that reflects the nesting. Might change to a flat XML structure though (not yet finally decided). Impleemented: <component-adapter-factory key="special" class="o.p.d.CachingCAF"> <component-adapter-factory class="o.p.d.CICA"> <parameter><boolean>true</boolean></parameter> </component-adapter-factory> <parameter factory='o.n.s.x.XStreamComponentInstanceFactory'> <o.p.g.a.ThreadLocalReference /> </parameter> </component-adapter-factory> Proposed for flat syntax: <component-adapter-factory key="CICAF" class="o.p.d.CICA"> <parameter><boolean>true</boolean></parameter> </component-adapter-factory> <component-adapter-factory key="special" class="o.p.d.CachingCAF"> <parameter key="CICAF"/> <parameter factory='o.n.s.x.XStreamComponentInstanceFactory'> <o.p.g.a.ThreadLocalReference /> </parameter> </component-adapter-factory>
        Jörg Schaible made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.0 [ 10148 ]

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: