Hi, How can I unsubscribe my second email from this list, I keep getting dups! My second email is [EMAIL PROTECTED]
Thanks, Baz -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Friday, January 06, 2006 4:26 PM To: [email protected] Subject: [coldspring-dev] Global lazy-init? Yes, absolutely, each bean is treated as a singleton unless otherwise specified. Good point! On Jan 6, 2006, at 3:28 PM, Peter J. Farrell wrote: > Chris Scott wrote: > >> Hmm, that typeo makes what I wrote totally unclear, sorry. The >> default behavior of the bean factory is to create objects only when >> asked for them, so if you call getBean('userService'), userService >> will be created at that time. Unless, of course, it has already been >> created by a previous call to getBean('userService'). > > Or it has been created because it was a dependency in another bean in > the factory? > > Ex. > > thisService { > property someOtherService = ref(someOtherService) > } > someOtherService (singleton=TRUE) { > props.... > } > > Am I correct? > > -- > Peter J. Farrell :: Maestro Publishing > http://blog.maestropublishing.com > > Rooibos Generator - Version 2.1 > Create boilerplate beans and transfer objects for ColdFusion! > http://rooibos.maestropublishing.com/ > > - Member Team Mach-II > - Member Team Fusion > >
