I'm back on this today, I were finally too busy last week. Ready to use cut and paste: <cffunction name="onApplicationEnd" returnType="void"> <cfargument name="applicationScope" required=true/>
<cfscript> arguments.applicationScope.tranferFactory.shutdown(); </cfscript> </cffunction> 2009/11/23 Mark Mandel <[email protected]> > Just writing everything in this thread, so there is only 1 place to look. > > There is now a TransferFactory.shutdown() method that needs to be run when > a TransferFactory is destroyed/reinitialised. > > This calls shutdown() on any of the configured CacheProviders, in case they > need this. > > Therefore you will need to call TransferFactory.shutdown() > onApplicationStop() in your Application.cfc, so that when the application > times out, the cache is also expired. > > This is only neccessary if you are using the EHCacheProvider, but other > cache providers in the future may also need this functionality. > > Mark > > > > > On Thu, Nov 19, 2009 at 4:55 PM, Mark Mandel <[email protected]>wrote: > >> Nice writeup! >> >> I should do my own blog post too! :D >> >> Mark >> >> >> On Thu, Nov 19, 2009 at 4:30 PM, Brian G <[email protected]> wrote: >> >>> >>> I worked with Mark this afternoon to convert my system and get it >>> running on the new pluggable architecture. Pretty straightforward and >>> I've documented it for anyone else who wants to give it a quick go: >>> >>> http://www.ghidinelli.com/2009/11/18/using-transfer-ehcache >>> >>> Hope that helps! I've got it on my staging server now and will likely >>> try it on production starting this weekend. >>> >>> >>> Brian >>> >>> -- >>> Before posting questions to the group please read: >>> >>> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer >>> >>> You received this message because you are subscribed to the Google Groups >>> "transfer-dev" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/transfer-dev?hl=en >>> >> >> >> >> -- >> E: [email protected] >> T: http://www.twitter.com/neurotic >> W: www.compoundtheory.com >> >> > > > -- > E: [email protected] > T: http://www.twitter.com/neurotic > W: www.compoundtheory.com > > -- > Before posting questions to the group please read: > > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > -- Aurélien Deleusière Mobile : +33 (0)6 83 78 83 42 ad e-consulting expertise 2.0 104, Grande Rue - 92310 Sèvres S.A.R.L. au capital de 8500€ R.C.S. Nanterre 50177609000018 -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en
