|
From: Florian L. <fle...@us...> - 2005-12-05 16:11:59
|
Update of /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8592/src/net/sf/magicmap/server Modified Files: ApplicationWatch.java Log Message: Daten aus Chache in Datanbank schreiben (ServletContextListener) Index: ApplicationWatch.java =================================================================== RCS file: /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/ApplicationWatch.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ApplicationWatch.java 11 May 2005 10:45:05 -0000 1.3 --- ApplicationWatch.java 5 Dec 2005 16:11:43 -0000 1.4 *************** *** 11,14 **** --- 11,16 ---- import javax.servlet.ServletContextListener; + import net.sf.magicmap.server.cache.PositionCache; + import net.sf.magicmap.server.dto.PositionDTO; import net.sf.magicmap.server.utils.JDOUtil; *************** *** 71,74 **** --- 73,77 ---- public void contextDestroyed(ServletContextEvent arg0){ + PositionCache.getPositionCache().writeCacheDataToDB(); try{ JDOUtil.pmfactory.close(); |