| java.lang.Object uk.org.primrose.vendor.standalone.PrimroseLoader
PrimroseLoader | public class PrimroseLoader (Code) | | |
Method Summary | |
public static List<String> | load(String configFile, boolean createNewPools) Load a pool(s), or admin data from a config file. | public static void | load(Properties config, boolean createNewPools) Load a pool, or admin data from a Properties object. | public static void | main(String args) | public static void | stopAllPools() Stop the ALL pools that are loaded in the JVM. | public static void | stopPool(String name) |
load | public static List<String> load(String configFile, boolean createNewPools) throws GeneralException, IOException(Code) | | Load a pool(s), or admin data from a config file.
If admin data, then createNewPools is ignored.
If createNewPools is true, then an existing pool is located, altered accordingly and restarted.
If createNewPools is false, then existing pools for the poolName(s) passed are stopped, and replaced.
|
load | public static void load(Properties config, boolean createNewPools) throws GeneralException(Code) | | Load a pool, or admin data from a Properties object.
One pool, or admin data per load operation.
If admin data, then createNewPools is ignored.
If createNewPools is true, then an existing pool is located, altered accordingly and restarted.
If createNewPools is false, then existing pools for the poolName(s) passed are stopped, and replaced.
|
|
|