}
protected void setProperty(String key, String newValue, boolean validate)
{
if (validate) {
Validator v = (Validator)validatorsByKey.get(namespace + key);
if (v != null) {
try {
v.validate(newValue);
}
catch (IllegalArgumentException e) {
logger.debug("invalid value: " + namespace + key + " = "
+ newValue, e);
return;