@ Override public void setApplicationContext ( ApplicationContext applicationContext ) throws BeansException { if ( StringUtils . isEmpty ( propertyFile ) ) { return ; } for ( String pf : propertyFile . split ( "\\," ) ) { loadAliases ( applicationContext , pf ) ; } if ( fileCount > 0 ) { log . info ( "Loaded " + entryCount + " aliases from " + fileCount + " files." ) ; } }
Loads aliases defined in an external property file if specified .