All it does is read the metadata for the component being proxied and then write out a CFC file that has those methods and arguments, but adds in calls to whatever AOP advices you have specified. So I don't see any reason why it would keep writing it out to disk each times since it would never change between instantiations.
I'm still not sure you actually need to apply the AOP advice to the transient object though. You haven't actually stated what you want to do, so it's hard to say. But in my experience, the AOP is applied at the service object level (which are singletons). I'm wondering if you really need to do it the way you are proposing. On 10/5/07, henry ho <[EMAIL PROTECTED]> wrote: > > > creating and writing the dynamic CFC should be > a one-shot deal > > I really hope so.. This is what I'm not sure of. Because it seems like in > order to generate a dynamically generated function, it requires using CFFILE > to write the .cfm/.cfc, and if this is required every time, it is going to > be very costly in performance... > > Henry > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4