Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/CallContext.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 | 33d7a6da1a05 |
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 | 8 |
9 package de.intevation.artifacts; | 9 package de.intevation.artifacts; |
10 | |
11 import java.util.LinkedList; | |
10 | 12 |
11 import org.w3c.dom.Document; | 13 import org.w3c.dom.Document; |
12 import org.w3c.dom.Node; | 14 import org.w3c.dom.Node; |
13 | 15 |
14 /** | 16 /** |
69 * finished it yet. | 71 * finished it yet. |
70 */ | 72 */ |
71 boolean isInBackground(); | 73 boolean isInBackground(); |
72 | 74 |
73 /** | 75 /** |
76 * Adds a background message for the current Artifact or Collection. | |
77 * | |
78 * @param msg The message. | |
79 */ | |
80 void addBackgroundMessage(Message msg); | |
81 | |
82 /** | |
83 * Returns the background messages of the current Artifact or Collection. | |
84 * | |
85 * @return the list of background messages. | |
86 */ | |
87 LinkedList<Message> getBackgroundMessages(); | |
88 | |
89 /** | |
74 * Access to the global context of the runtime system. | 90 * Access to the global context of the runtime system. |
75 * @return The global context. | 91 * @return The global context. |
76 */ | 92 */ |
77 Object globalContext(); | 93 Object globalContext(); |
78 | 94 |