public int getIntProperty(String key, int defaultValue) {
		String value = getProperty(key);
		if (value == null) {
			setIntProperty(key, defaultValue);
			return defaultValue;
		}
		
		try {
			return Integer.parseInt(value);
		} catch (NumberFormatException e) {
			this.logger.logError(LOGGING_SOURCE, "unable to read property value " + key + " as integer");
			return defaultValue;
		}
	}