The only stateful objects created by Reactor are Records and TOs. The ReactorFactory is stateful too, but you should place this in your application scope.
Doug -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Roche Sent: Tuesday, July 11, 2006 5:28 AM To: [email protected] Subject: RE: [Reactor for CF] Objects in Application scope What counts as stateful? If an object has a property to save the DSN is that enough to make it stateful? Kevin Roche -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nick Tong - TalkWebSolutions.co.uk Sent: 10 July 2006 13:33 To: [email protected] Subject: Re: [Reactor for CF] Objects in Application scope great - thanks Doug, Tom do you have any exmples? On 10/07/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > All you need to do is to put the reactorfactory in the application scope. > Reactor caches stateless objects (effectively putting them in the > application scope too). Objects that are stateful shouldn't be put in the > application scope and reactor doesn't cache them. > > Doug > -- Nick Tong web: http://talkwebsolutions.co.uk blog: http://succor.co.uk short urls: http://wapurl.co.uk linkedin: http://linkedin.com/pub/0/a70/502 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - - -- 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/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
