Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/propertiesreader/PropertiesReaderFactory.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | 89ade245ca7a |
comparison
equal
deleted
inserted
replaced
689:8487581dfe3b | 690:254f062e334b |
---|---|
56 } | 56 } |
57 | 57 |
58 /** | 58 /** |
59 * Getting the ConnectionPool | 59 * Getting the ConnectionPool |
60 * | 60 * |
61 * @param config | 61 * @param config The Config that should be read |
62 * The Config that should be read | |
63 */ | 62 */ |
64 public void initPropertiesReader(Object config) { | 63 public void initPropertiesReader(Object config) { |
65 if (config instanceof ServletConfig) { | 64 if (config instanceof ServletConfig) { |
66 this.propertiesReader = new ServletPropertiesReader( | 65 this.propertiesReader = new ServletPropertiesReader( |
67 (ServletConfig) config); | 66 (ServletConfig) config); |
72 log.error("No PropertiesReader for Instance " | 71 log.error("No PropertiesReader for Instance " |
73 + config.getClass().getName()); | 72 + config.getClass().getName()); |
74 } | 73 } |
75 | 74 |
76 } | 75 } |
77 | |
78 } | 76 } |
77 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |