def myUnloader(): Unit = { ... run when Lift is being unloaded } LiftRules.unloadHooks += myUnloader _
On Fri, Oct 3, 2008 at 8:56 AM, efleming969 <[EMAIL PROTECTED]> wrote: > > I'm trying to convert a scala + wicket + db4o application to Lift + > db4o. I'm using a standard ServletContextListener to shutdown my > database file. > > What is the recommended method for ContextListener type code in Lift. > Should I just configure my ContextListener as normal or is there a > special place for this type of code? > > Thanks > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---