Back Forum Reply New

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:

lt;bean id=quot;StartUpManagerquot; class=quot;XYZ.StartUpManagerquot;gt; lt;property name=quot;servicesquot;gt;   lt;listgt;     lt;ref bean=quot;listArchquot; /gt;     lt;ref bean=quot;listCustomSrvquot; /gt;     lt;ref bean=quot;listOtherSrvquot; /gt;   lt;/listgt; lt;/propertygt;
lt;/beangt;

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=quot;baseLists*quot;?Is there a better solution to do this more generic?

Thank you very much in advance for your help!!!

Best wishes
Mike
¥
Back Forum Reply New