comparison artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java @ 331:089c6f7794b5

Integrated a messaging system for Artifacts and Collections that started background threads. artifacts/trunk@2688 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 09 Sep 2011 14:06:55 +0000
parents 3168af23aec5
children
comparison
equal deleted inserted replaced
330:3168af23aec5 331:089c6f7794b5
5 * Read the file LGPL.txt coming with the software for details 5 * Read the file LGPL.txt coming with the software for details
6 * or visit http://www.gnu.org/licenses/ if it does not exist. 6 * or visit http://www.gnu.org/licenses/ if it does not exist.
7 */ 7 */
8 package de.intevation.artifactdatabase; 8 package de.intevation.artifactdatabase;
9 9
10 import java.util.LinkedList;
11
10 import org.apache.log4j.Logger; 12 import org.apache.log4j.Logger;
11 13
12 import de.intevation.artifacts.ArtifactCollection; 14 import de.intevation.artifacts.ArtifactCollection;
13 import de.intevation.artifacts.CallMeta; 15 import de.intevation.artifacts.CallMeta;
16 import de.intevation.artifacts.Message;
14 17
15 18
16 /** 19 /**
17 * Class that implements the call context handed to ArtifactCollection specific 20 * Class that implements the call context handed to ArtifactCollection specific
18 * operations. 21 * operations.
55 log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED"); 58 log.debug("CollectionCallContext.isInBackground - NOT IMPLEMENTED");
56 return false; 59 return false;
57 } 60 }
58 61
59 62
63 public void addBackgroundMessage(Message msg) {
64 log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
65 }
66
67
68 public LinkedList<Message> getBackgroundMessages() {
69 log.debug("CollectionCallContext.addBackgroundMessage NOT IMPLEMENTED");
70 return null;
71 }
72
73
60 public Long getTimeToLive() { 74 public Long getTimeToLive() {
61 log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED"); 75 log.debug("CollectionCallContext.getTimeToLive - NOT IMPLEMENTED");
62 return null; 76 return null;
63 } 77 }
64 } 78 }

http://dive4elements.wald.intevation.org