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