Peter J. Farrell said the following on 5/25/2006 1:07 PM:
Dave Ross said the following on 5/25/2006 12:58 PM:
  
Brian is correct - init() is called right after the component is
created and setter methods are called after that (in no particular
order). Sounds like you are looking for "init-method" which allows you
to specify a method that coldspring will call on your component after
all the dependencies have been set.
    
For the sake of consistency, I typically call my init-method "setup"
which is called after the entire CS bean factory as been init'ed (I
think this is correct).  Just throwing that out...
  
Dave, if you or Chris can write something out - I'll be more than willing to create flow chart that shows the creation process that ColdSpring uses.  It perplexed me for a while when I first started.  Just an idea.

.Peter
-- 
Peter J. Farrell - Maestro Publishing
Certified Adobe ColdFusion MX7 Developer
Member Team Mach-II and Team Fusion
--
Co-Host of the ColdFusion Weekly Podcast
The "Virtually Live" Call-In Show
http://www.coldfusionweekly.com



Reply via email to