comparison ChangeLog @ 304:40b64b4aafce

Added lifetime listeners to be called when system is up and is going down. artifacts/trunk@2410 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 27 Jul 2011 13:51:30 +0000
parents 190aa68ae7a8
children f33401ea2a6c
comparison
equal deleted inserted replaced
303:190aa68ae7a8 304:40b64b4aafce
1 2011-07-27 Sascha L. Teichmann <teichmann@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/LifetimeListener.java:
4 New. Interface instances of are called when system is up and is going down.
5
6 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
7 Load lifetime listeners from configuration. XPATH
8 /artifact-database/lifetime-listeners/listeners/text()
9
10 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
11 Call the listeners after start up and before shutdown.
12
13 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
14 Trigger the start of the artifact database explicitly when the boot process
15 is finished.
16
1 2011-07-27 Sascha L. Teichmann <teichmann@intevation.de> 17 2011-07-27 Sascha L. Teichmann <teichmann@intevation.de>
2 18
3 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: 19 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
4 Added a method loadAllArtifacts() to load all artifacts which are in 20 Added a method loadAllArtifacts() to load all artifacts which are in
5 a collection and have an owner. The loaded artifacts are passed one by 21 a collection and have an owner. The loaded artifacts are passed one by

http://dive4elements.wald.intevation.org