hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan@unrighteousdominion.com" <r...@unrighteousdominion.com>
Subject Re: setting list parameters
Date Thu, 02 Nov 2006 03:40:59 GMT
$25 Amazon Gift Certificate to the person that helps me solve this.

I've got one right here.

ryan@unrighteousdominion.com wrote:
> I have a service that has method like "setMyCustomServices(List 
> services)" but I can't figure out how to set this in the hivemind 
> module descriptor. This is what I tried:
>
> <service-point id="SomeService" interface="SomeServiceInterface">
>        <invoke-factory>
>            <construct class="SomeServiceImpl" >
>                <set-service property="myCustomServices">
>                    <list>
>                        <service-id>service.MyCustomServiceX</service-id>
>                        <service-id>service.MyCustomServiceY</service-id>
>                        <service-id>service.MyCustomServiceZ</service-id>
>                    </list>
>                </set-service>
>            </construct>
>        </invoke-factory>
>    </service-point>
>
> I looked at using configuration points, but that seems like more 
> complexity than is necessary.
>
> Anyone know the best way to do this?
>
> Thanks
>
>


Mime
View raw message