Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java @ 4:13a12b607baf
Added mechanism to create an share a global context in the artifact database.
artifacts/trunk@13 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 08:32:09 +0000 |
parents | 11c82d3f125e |
children | c2d53bd30ab8 |
comparison
equal
deleted
inserted
replaced
3:b1ec257e9d8d | 4:13a12b607baf |
---|---|
19 */ | 19 */ |
20 Artifact getArtifact(String identifier); | 20 Artifact getArtifact(String identifier); |
21 | 21 |
22 /** | 22 /** |
23 * Creates new artifact with a certain factory. | 23 * Creates new artifact with a certain factory. |
24 * @param factoryName the name of the factory. Name out of {@see #getArtifactFactoryNames() getArtifactFactoryNames()}. | 24 * @param factoryName the name of the factory. Name out of {@link #getArtifactFactoryNames() getArtifactFactoryNames()}. |
25 */ | 25 */ |
26 Artifact createArtifactWithFactory(String factoryName); | 26 Artifact createArtifactWithFactory(String factoryName); |
27 | |
28 | |
29 /** | |
30 * Returns the global artifact runtime context. | |
31 * @return the runtime context | |
32 */ | |
33 Object getArtifactContext(); | |
27 } | 34 } |
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: | 35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |