comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java @ 120:c030895edfcb

Added method to figure out TTL of a collection. artifacts/trunk@1343 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 01 Mar 2011 16:07:25 +0000
parents 933bbc9fc11f
children a367a0d011af
comparison
equal deleted inserted replaced
119:3bb121d5b0b7 120:c030895edfcb
50 void setup(Document config, Node factoryNode); 50 void setup(Document config, Node factoryNode);
51 51
52 /** 52 /**
53 * Tells how long an artifact should survive if it is 53 * Tells how long an artifact should survive if it is
54 * not touched. This is put in the factory because 54 * not touched. This is put in the factory because
55 * life time is nothing a artifact should handle it self. 55 * life time is nothing an artifact should handle it self.
56 * This method is only called once directly after the 56 * This method is only called once directly after the
57 * artifact is created. 57 * artifact is created.
58 * @param artifact The artifact to be rated. 58 * @param artifact The artifact to be rated.
59 * @param context The global context. 59 * @param context The global context.
60 * @return time to live in ms. null means eternal. 60 * @return time to live in ms. null means eternal.

http://dive4elements.wald.intevation.org