private void initConfigurationValues(){
  if (properties != null && properties.containsKey(MAX_SUBREQUEST_PROPERTY)) {
    try {
      maxSubrequestCount=Integer.parseInt((String)properties.get(MAX_SUBREQUEST_PROPERTY));
      log.info("Setting maximum allowed subrequest count to " + maxSubrequestCount + " from properties");
    }
 catch (    Exception e) {
      maxSubrequestCount=MAX_SUBREQUEST_COUNT_DEFAULT;
      log.warn("Setting maximum allowed subrequest count to a default of " + maxSubrequestCount + ", since defined value for "+ MAX_SUBREQUEST_PROPERTY+ " in properties is not a number");
    }
  }
 else {
    maxSubrequestCount=MAX_SUBREQUEST_COUNT_DEFAULT;
    log.warn("Setting maximum allowed subrequest count to a default of " + maxSubrequestCount + ", since no property "+ MAX_SUBREQUEST_PROPERTY+ " is defined!");
  }
  if (properties != null && properties.containsKey(MAX_RECURSION_DEPTH_PROPERTY)) {
    try {
      maxRecursionDepth=Integer.parseInt((String)properties.get(MAX_RECURSION_DEPTH_PROPERTY));
      log.info("Setting default recursion depth to " + maxRecursionDepth + " from properties");
    }
 catch (    Exception e) {
      maxRecursionDepth=RECURSION_DEPTH_DEFAULT;
      log.warn("Setting default recursion depth to a default of " + maxRecursionDepth + ", since defined value for "+ MAX_RECURSION_DEPTH_PROPERTY+ " in properties is not a number");
    }
  }
 else {
    maxRecursionDepth=RECURSION_DEPTH_DEFAULT;
    log.warn("Setting default recursion depth to a default of " + maxRecursionDepth + ", since no property "+ MAX_RECURSION_DEPTH_PROPERTY+ " is defined!");
  }
}

private void initConfigurationValues ( ) { if ( properties != null && properties . containsKey ( MAX_SUBREQUEST_PROPERTY ) ) { try { maxSubrequestCount = Integer . parseInt ( ( String ) properties . get ( MAX_SUBREQUEST_PROPERTY ) ) ; log . info ( "Setting maximum allowed subrequest count to " + maxSubrequestCount + " from properties" ) ; } catch ( Exception e ) { maxSubrequestCount = MAX_SUBREQUEST_COUNT_DEFAULT ; log . warn ( "Setting maximum allowed subrequest count to a default of " + maxSubrequestCount + ", since defined value for " + MAX_SUBREQUEST_PROPERTY + " in properties is not a number" ) ; } } else { maxSubrequestCount = MAX_SUBREQUEST_COUNT_DEFAULT ; log . warn ( "Setting maximum allowed subrequest count to a default of " + maxSubrequestCount + ", since no property " + MAX_SUBREQUEST_PROPERTY + " is defined!" ) ; } if ( properties != null && properties . containsKey ( MAX_RECURSION_DEPTH_PROPERTY ) ) { try { maxRecursionDepth = Integer . parseInt ( ( String ) properties . get ( MAX_RECURSION_DEPTH_PROPERTY ) ) ; log . info ( "Setting default recursion depth to " + maxRecursionDepth + " from properties" ) ; } catch ( Exception e ) { maxRecursionDepth = RECURSION_DEPTH_DEFAULT ; log . warn ( "Setting default recursion depth to a default of " + maxRecursionDepth + ", since defined value for " + MAX_RECURSION_DEPTH_PROPERTY + " in properties is not a number" ) ; } } else { maxRecursionDepth = RECURSION_DEPTH_DEFAULT ; log . warn ( "Setting default recursion depth to a default of " + maxRecursionDepth + ", since no property " + MAX_RECURSION_DEPTH_PROPERTY + " is defined!" ) ; } }
initialize the configuration values .
