|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alltimeflashdreamer.filelister.PoolHandler
Title: PoolHandler
Description: This simple class provides the (static) access to a single instance of ConnectionPool.
Organization: All Time Flash Dreamer
Method Summary | |
static org.alltimeflashdreamer.util.jdbc.ConnectionPool |
getPool()
Returns the pool (if first call, it's initialized first which may throw a "embedded" FileListerException). |
(package private) static void |
initializePool(PropertyFileParameters params)
Initializes the connection pool according to the settings stored in the given PropertyFileParameters instance, i.e. the property file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.alltimeflashdreamer.util.jdbc.ConnectionPool getPool() throws FileListerException
FileListerException
- if the pool is null / not yet initializedstatic void initializePool(PropertyFileParameters params) throws FileListerException
params
- where to get the settings from
FileListerException
- wrapped ClassNotFoundException or SQLException,
in case something went wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |