Camelry icon indicating copy to clipboard operation
Camelry copied to clipboard

Support blueprint reference-list

Open AlanFoster opened this issue 11 years ago • 0 comments

Here's an example from the OSGI fancy foods source

    <service
        interface="fancyfoods.offers.CurrentOffers"
        ref="offerAggregator">
    </service>
    <bean
        id="offerAggregator"
        class="fancyfoods.offers.impl.OfferAggregator">

        <property
            name="offers"
            ref="specialOffers" />
    </bean>


    <reference-list
        id="specialOffers"
        interface="fancyfoods.offers.SpecialOffer">
        <reference-listener
            ref="offerAggregator"
            bind-method="bind"
            unbind-method="unbind" />
    </reference-list>

We could add support for

  • ref
  • bind-method
  • unbind-method

Similiar to how BlueprintBeans currently work

AlanFoster avatar Jun 29 '13 16:06 AlanFoster