On Sat, 29 Jan 2005 10:32:19 +1100, Jason Sheedy <[EMAIL PROTECTED]> wrote: > In the initial mach-ii.cfm file the appLoader is instantiated in the > application scope. It in turn instantiates the appFactory object, which > instantiates the AppManager, PropertyManager, ListenerManger, > FilterMangager, EventManager, ViewManager and PluginManager objects. > > Do all of these inherit the scope of the AppLoader object or are they > re-instanitated whenever they're called at runtime?
Well, I wouldn't use the word "inherit" but, yes, these objects all end up in application scope. If you store a CFC in application scope, then its variables scope is also effectively application scope and so is anything stored in that variables scope. It's about lifetime - the lifetime of a CFC is dependent on where it is stored and the lifetime determines how the variables scope behaves (because it has the same lifetime). Does that help? -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 5 invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
