| java.lang.Object uk.org.primrose.pool.core.PoolLoader
PoolLoader | public class PoolLoader (Code) | | |
Inner Class :static class PoolStopper extends Thread | |
decryptPassword | public static void decryptPassword(Properties p) throws GeneralException(Code) | | If the property Constants.ENCRYPTION_KEY_FILE is present (ie passwords are encypted)
then decrpyt them and reset the entry in the Properties object
|
findExistingPool | public static Pool findExistingPool(String poolName)(Code) | | Get a reference to an existing pool
|
getLoadedPools | public static List<Pool> getLoadedPools()(Code) | | Get a list of loaded pools
|
havePoolsBeenLoaded | public static boolean havePoolsBeenLoaded()(Code) | | Have any pools been loaded ?
|
loadPool | public static String loadPool(Properties config, boolean createNewPool) throws GeneralException(Code) | | Load a single new Pool, or alter settings in an existing Pool using
a Properties object, which should contain all
the details required to configure primrose.
If createNewPool is true, then a brand new pool is made. Any pool running under an exsting name is shut down.
if false then an existing pool is located, and its properties updated, and then restarted
without killing existing connection SQL jobs running from the pool
|
|
|