Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPoolFactory.java @ 885:1c3efbd2fc5a
Removes trailing whitespace.
geo-backend/trunk@850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:49:16 +0000 |
parents | 12f88239fb33 |
children | 8b442223741c |
comparison
equal
deleted
inserted
replaced
884:12f88239fb33 | 885:1c3efbd2fc5a |
---|---|
1 /** | 1 /** |
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.geobackend.base.connectionpool; | 4 package de.intevation.gnv.geobackend.base.connectionpool; |
5 | 5 |
6 import java.util.Properties; | 6 import java.util.Properties; |
7 | 7 |
19 /** | 19 /** |
20 * the logger, used to log exceptions and additonaly information | 20 * the logger, used to log exceptions and additonaly information |
21 */ | 21 */ |
22 private static Logger log = Logger.getLogger(ConnectionPoolFactory.class); | 22 private static Logger log = Logger.getLogger(ConnectionPoolFactory.class); |
23 | 23 |
24 | 24 |
25 /** | 25 /** |
26 * The singleton Instance of this Factory. | 26 * The singleton Instance of this Factory. |
27 */ | 27 */ |
28 private static ConnectionPoolFactory instance = null; | 28 private static ConnectionPoolFactory instance = null; |
29 | 29 |
69 //TODO: Here it might be possible to switch the ConnectionPoolInstance using a FLAG. | 69 //TODO: Here it might be possible to switch the ConnectionPoolInstance using a FLAG. |
70 this.connectionPool = new ArcSDEConnectionPool(); | 70 this.connectionPool = new ArcSDEConnectionPool(); |
71 this.connectionPool.initialize(properties); | 71 this.connectionPool.initialize(properties); |
72 }else{ | 72 }else{ |
73 log.warn("ConnectionPool already initialized"); | 73 log.warn("ConnectionPool already initialized"); |
74 } | 74 } |
75 } | 75 } |
76 | 76 |
77 /** | 77 /** |
78 * Checks if the ConnectionPool has already been initialized. | 78 * Checks if the ConnectionPool has already been initialized. |
79 * @return true if the ConnectionPool is initialized. | 79 * @return true if the ConnectionPool is initialized. |