|
From: THOMAS, J. (SBCSI) <jt...@sb...> - 2004-09-16 21:47:49
|
I would like to add my own xml like if I have a component called as chain which in turn takes in a number of beans currently the xml definition becomes too big I would like to use xml schema to define my beans I can create my own xml called as <Chain> <bean> </bean> <bean> </bean> </chain> I believe Spring should support pluggable factory so that we can extend Spring easily -Jayant -----Original Message----- From: Chris Eldredge [mailto:chr...@co...] Sent: Thursday, September 16, 2004 11:47 AM To: spr...@li... Subject: [Springframework-developer] Re: Import tag for XML bean definitions bryan wrote: > <beans> > <if value="test" equals="test"> > <import resource="myImport1.xml"/> > </if> This looks an awful lot like meta-programming to me. This becomes a slippery slope. IMO, xml bean files should be for configuration, not for scripting. The <import>, however, is something that I am looking forward to using on my current project. Chris. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |