public void run() {
		int numChecks = 0;	//safeguard against runaway threads
		//BatchParameter param;
		ArrayList<?> paramList;
		String paramVal = null;
		//while the check method returns true, keep checking parameter
		while (isCheckNeeded() && ++numChecks < 100) {
			try {
				
				//param = batchController.getParameters();	//get the parameters from fw_batch table
				//paramList = param.getFunctionalParameters();
				//paramVal = findParamVal(paramList);

				//if value has changed from last time, then...
				if (checkIfChanged(paramVal)) {
					setParam(paramVal);	//save the new value
					callNotify();	//call notify method with the stored value
				}
				Thread.sleep(checkFreqMins * MIN_TO_MSEC);
			
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}