Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java @ 299:a8d62eb93cd4
Services now take GlobalContext on setup and process.
artifacts/trunk@2386 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 21 Jul 2011 14:39:45 +0000 |
parents | 933bbc9fc11f |
children |
comparison
equal
deleted
inserted
replaced
298:a5e6d1923c95 | 299:a8d62eb93cd4 |
---|---|
37 * Creates the service. This is done at startup time of the | 37 * Creates the service. This is done at startup time of the |
38 * artifact database system. | 38 * artifact database system. |
39 * @param globalContext The global context of the artifact database. | 39 * @param globalContext The global context of the artifact database. |
40 * @return The created service. | 40 * @return The created service. |
41 */ | 41 */ |
42 Service createService(Object globalContext); | 42 Service createService(GlobalContext globalContext); |
43 | 43 |
44 /** | 44 /** |
45 * Configures this factory. This is called before | 45 * Configures this factory. This is called before |
46 * #createService(Object). | 46 * #createService(Object). |
47 * @param config The global configuration document of the artifact | 47 * @param config The global configuration document of the artifact |