code: public String getMailServerIp() {
  		Settings settings = getSettings();
  		if (settings.getMailServer() == null) {
  			return "127.0.0.1";
  		}
  		
  		return settings.getMailServer().getIp();
  	}
docs: helper methods used in Spring xml files with SpEL