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

Reply via email to