public void replace ( String name , PropertySource < ? > propertySource ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Replacing PropertySource '" + name + "' with '" + propertySource . getName ( ) + "'" ) ; } int index = assertPresentAndGetIndex ( name ) ; this . propertySourceList . set ( index , propertySource ) ; }
Replace the property source with the given name with the given property source object .