/** * Will poke parents for defaults * @param key to lookup * @return the value or null */ @Override public Object getPropertyInternal(String key) { Object value = super.getPropertyInternal(key); if (value == null) { if (LOG.isDebugEnabled()) { LOG.debug("poking parent '" + getParent().getClass().getSimpleName() + "' for key: " + key); } return getParent().getProperty(key.startsWith(PREFIX_DEFAULT) ? key : PREFIX_DEFAULT + key); } LOG.debug("Returning '{}' for key: {}", value, key); return value; }