|
From: Rod J. <rod...@in...> - 2003-03-10 22:08:41
|
Thanks Tony, I've emailed the guy asking for him to send me the code and letting him know about the open source project. Regards, Rod ----- Original Message ----- From: "Anthony Falabella" <ton...@ho...> To: <spr...@li...> Sent: Monday, March 10, 2003 8:28 PM Subject: [Springframework-developer] Fwd: [expertj2ee_with_rodjohnson] Endless loop with XmlBeanFactory example > Rod, > > I'm not sure if you're monitoring the mailing list wrox set up for you. > Just in case, this one looked like something you might want to test for with > your BeanFactory changes... > > > > > > > >From: "Michael Pinard" <B0...@FD...> > >Reply-To: "ExpertJ2EE with RodJohnson" > ><exp...@p2...> > >To: "ExpertJ2EE with RodJohnson" <exp...@p2...> > >Subject: [expertj2ee_with_rodjohnson] Endless loop with XmlBeanFactory > >example > >Date: Mon, 10 Mar 2003 14:16:21 -0500 > > > > > > > > > > > >When setting up the example from the book using the XmlBeanFactory, the > >bean factory initialization process went into an endless loop with the > >following XML due to the circular reference. I have been able to modify > >the code to allow circular references for singletons by tweaking > >AbstractBeanFactory a bit. > > > ><?xml version="1.0" encoding="UTF-8"?> > ><beans> > > <bean name="rod" > > singleton="true" > > class="TestBean"> > > <property name="name">Rod</property> > > <property name="age">31</property> > > <property name="spouse" beanRef="true">kerry</property> > > </bean> > > > > <bean name="kerry" > > singleton="true" > > class="TestBean"> > > <property name="name">Kerry</property> > > <property name="age">34</property> > > <property name="spouse" beanRef="true">rod</property> > > </bean> > ></beans> > > > >Thanks, > > > >Michael Pinard > >Federated Systems Group > >mp...@fd... > >678.474.3085 > > > > > >--- > >Change your mail options at http://p2p.wrox.com/manager.asp or > >to unsubscribe send a blank email to > >lea...@p2.... > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |