Mercurial > dive4elements > framework
diff ChangeLog @ 292:39c0ff00d188
Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
artifacts/trunk@2327 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 13 Jul 2011 13:12:08 +0000 |
parents | f8c4fa292c9c |
children | a367a0d011af |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 13 11:00:30 2011 +0000 +++ b/ChangeLog Wed Jul 13 13:12:08 2011 +0000 @@ -1,3 +1,15 @@ +2011-07-13 Ingo Weinzierl <ingo@intevation.de> + + * artifacts/src/main/java/de/intevation/artifacts/Hook.java: New. A hook + can be used to execute at a specific point in time. E.g. after an + Artifact was fed or after an Artifact has advanced. + + * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: + Call hooks after Artifact's feed() and advance() operations. + + * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: + Load hooks from configuration that match the XPath "/artifact-database/hooks/hook". + 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> Fix for flys/issue20