Doug, You never stop... I'm saying this but I till now I was never disapointed ;)
João Fernandes PS: I'm getting as many messages from reactor as from flexcoders, it seems this list is very healthy ;) -----Original Message----- From: [EMAIL PROTECTED] on behalf of Doug Hughes Sent: Sat 11-Feb-06 11:20 PM To: [email protected] Subject: RE: Reactor For CF coldspring Kurt, FYI, the reactor factory config/constructor's api may be changing soon slightly. Joe R. did some work on it that I haven't yet reviewed. You may want to discuss this with him. Doug -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kurt Wiersma Sent: Saturday, February 11, 2006 6:16 PM To: [email protected] Subject: Re: Reactor For CF coldspring By popular request I have implemented factory-bean/factory-method support for ColdSpring. Currently this is in bleeding edge CVS area only. This allows ColdSpring to work with your own custom factories either for legacy reasons, or to support external factories like Reactor. Here is an example of how would use this new feature with Reactor. <bean id="reactorFactory" class="reactor.reactorFactory"> <constructor-arg name="reactorConfig"><value>${reactorConfig}</value></constructor-arg> <property name="dsn"><value>${dsn}</value></property> </bean> <bean id="playerDAO" factory-bean="reactorFactory" factory-method="createDAO"> <constructor-arg name="name"><value>players</value></constructor-arg> </bean> <bean id="playerGateway" factory-bean="reactorFactory" factory-method="createGateway"> <constructor-arg name="name"><value>players</value></constructor-arg> </bean> <bean id="playerService" class="fantasyfootball.model.player.playerService" /> Hopefully we will have some news soon about the next official release. --Kurt On 1/31/06, Kurt Wiersma <[EMAIL PROTECTED]> wrote: > This addition to ColdSpring is planned for the next release. I am not done > with it yet though so I don't where or not it will make the next release > which may be in the next couple of weeks (depending on how testing goes). I > know this feature has been requested by several people outside of reactor > for use with their custom factories. > > --Kurt > > > On 1/31/06, Sam Clement <[EMAIL PROTECTED]> wrote: > > Doh... Just re-read Kurt's first comment (and looked at the Coldspring > documentation that states factory-bean and factory-method are planned but > not yet implemented), hence Joe's comment. > > > > Kurt, are you working on this as a part of an 'official' coldspring > release? Anyway, good luck, sounds great! > > > > > > > > > > > > On 1/30/06, Kurt Wiersma < [EMAIL PROTECTED]> wrote: > > > > > > http://static.springframework.org/spring/docs/1.2.x/reference/beans.html#bea ns-instance-factory-method > > > > > > Basically ColdSpring will control the Reactor factory for you. Here is > > > an example from my config file: > > > > > > <bean id="reactorFactory" class="reactor.reactorFactory"> > > > <constructor-arg > > > > name="reactorConfig"><value>${reactorConfig}</value></constructor-arg> > > > <property > name="dsn"><value>${dsn}</value></property> > > > </bean> > > > > > > <bean id="fantasyTeamDAO" > > > factory-bean="reactorFactory" > factory-method="createDAO"> > > > <constructor-arg > name="name"><value>fantasyteams</value></constructor-arg> > > > </bean> > > > > > > <bean id="fantasyteamService" > > > > class="fantasyfootball.model.fantasyteam.fantasyteamService"> > > > <property name="fantasyTeamDAO"><ref id="fantasyTeamDAO" > /></property> > > > </bean> > > > > > > Hopefully this makes a bit more sense. > > > > > > On 1/30/06, Seth Petry-Johnson <[EMAIL PROTECTED] > wrote: > > > > I assumed it meant he was working on a way to configure ColdSpring to > > > > delegate the creation of certain objects to a Reactor factory rather > than > > > > creating them itself. i.e. getBean("BlahGateway") would end up > invoking > > > > reactorFactory.createGateway("Blah"). > > > > > > > > But I guess I could be out in left field... wouldn't be the first time > :) > > > > > > > > > > > > On 1/30/06, Joe Rinehart < [EMAIL PROTECTED]> wrote: > > > > > Hey Kurt, > > > > > > > > > > I'm a little lost as to what factory-bean/factory-method support > > > > > actually means - could you maybe show an example of using the API > it'd > > > > > create? > > > > > > > > > > Thanks, > > > > > > > > > > Joe > > > > > > > > > > > > > > > > > > > > > > > > > -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/
<<winmail.dat>>

