# HG changeset patch # User Sascha L. Teichmann # Date 1325788509 0 # Node ID a5f327849b8597781790efce9b085f74445aa92a # Parent b52012d538af5814b188e95ee764f51eeccdde1f Added a service to invalidate caches by their names. Useful tp prevent cache inconsistencies caused by external ETL processes. flys-artifacts/trunk@3604 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r b52012d538af -r a5f327849b85 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Thu Jan 05 14:32:44 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jan 05 18:35:09 2012 +0000 @@ -1,3 +1,31 @@ +2011-01-05 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/artifacts/services/CacheInvalidationService.java: + New. Uses the CacheFactory to invalidate caches by their names. + This can be used by external ETL processes like the AFT/DIPS importer + to prevent cache inconsistencies. + + Input documents look like this: + + + + ... + + + + Output documents look like this: + + + All elements removed. + ... + Error: Cache not found. + + + * doc/conf/conf.xml: Added the cache invalidation service. + + * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java: + Added Override annotation. + 2011-01-05 Felix Wolfsteller flys/issue432 (Diagrammeigenschaften/Flächenrenderer: diff -r b52012d538af -r a5f327849b85 flys-artifacts/doc/conf/conf.xml --- a/flys-artifacts/doc/conf/conf.xml Thu Jan 05 14:32:44 2012 +0000 +++ b/flys-artifacts/doc/conf/conf.xml Thu Jan 05 18:35:09 2012 +0000 @@ -100,6 +100,10 @@ name="cross-section-km" service="de.intevation.flys.artifacts.services.CrossSectionKMService" description="The service provides the N next neighbored kms and ids of cross section lines for given cross section id, km and N.">de.intevation.artifactdatabase.DefaultServiceFactory + de.intevation.artifactdatabase.DefaultServiceFactory diff -r b52012d538af -r a5f327849b85 flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/FLYSService.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/FLYSService.java Thu Jan 05 14:32:44 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/FLYSService.java Thu Jan 05 18:35:09 2012 +0000 @@ -19,6 +19,7 @@ private static final Logger logger = Logger.getLogger(FLYSService.class); + @Override public Document process( Document data, GlobalContext globalContext,