Feb 25th, 2009, 04:03 AM
Generic merging (with wildcarts?)
I want to merge several lists into one.
Problem is I never want to name the specific lists in detail.
I work with several layers which can declare services to be initialized at startup. This services are declared in several util:list.
At the moment I work with:
<bean id="StartUpManager" class="XYZ.StartUpManager">
<ref bean="listArch" />
<ref bean="listCustomSrv" />
<ref bean="listOtherSrv" />
But this solution is not very flexible. Everytime a new service list is created it has to be put into this list. Is it possible to declare list with a parent like parent="baseLists*"?
Is there a better solution to do this more generic?
Thank you very much in advance for your help!!!