| java.lang.Object uk.org.primrose.Util
Method Summary | |
public static boolean | callClassMethod(Class targetClass, Object targetObj, String methodNameToRun, Object[] args) Using reflection, invoke a method on a given object
Returns whether it found the method to run or not. | public static Properties | generatePropertiesForPoolName(String configFile, String poolNameToFind) | public static Connection | getConnection(String driver, String url, String username, String password) | public static boolean | isConfigParameterValid(String name) | public static void | printGetMethodValues(String prefixData, Logger logger, Class targetClass, Object targetObj) |
callClassMethod | public static boolean callClassMethod(Class targetClass, Object targetObj, String methodNameToRun, Object[] args) throws GeneralException(Code) | | Using reflection, invoke a method on a given object
Returns whether it found the method to run or not.
|
generatePropertiesForPoolName | public static Properties generatePropertiesForPoolName(String configFile, String poolNameToFind) throws IOException(Code) | | Load multiple pools from a primrose config file
|
isConfigParameterValid | public static boolean isConfigParameterValid(String name)(Code) | | Is the given value a valid pool config parameter ?
|
printGetMethodValues | public static void printGetMethodValues(String prefixData, Logger logger, Class targetClass, Object targetObj)(Code) | | Using reflection, print out the values of all 'get' methods for an object
|
|
|