Mercurial > dive4elements > framework
diff artifacts/src/main/java/de/intevation/artifacts/Artifact.java @ 9:a5a279a0ee35
Laid tracks for artifacts being removed from artifact database.
artifacts/trunk@24 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 16:06:44 +0000 |
parents | 13a12b607baf |
children | e8626caac353 |
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/Artifact.java Fri Sep 04 15:20:28 2009 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/Artifact.java Fri Sep 04 16:06:44 2009 +0000 @@ -70,5 +70,12 @@ * @return a byte representation of the output. */ public byte [] out(Document format, Object context); + + /** + * Called from artifact database when an artifact is + * going to be removed from system. + * @param context The global context of the runtime system. + */ + public void endOfLife(Object context); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: