-
Feb 25th, 2009, 04:03 AM
#1
Generic merging (with wildcarts?)
Hi All,
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">
<property name="services">
<list>
<ref bean="listArch" />
<ref bean="listCustomSrv" />
<ref bean="listOtherSrv" />
</list>
</property>
</bean>
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!!!
Best wishes
Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules