E&S CVS Commit: PEAK - Refactored so that config.loadConfigFile() and config.loadMapping() can

pje at eby-sarna.com pje at eby-sarna.com
Wed Nov 6 12:00:01 EST 2002

Module Name:	PEAK
Committed By:	pje
Date:		Wed Nov  6 16:59:02 UTC 2002

Modified Files:
	PEAK/src/peak/binding: components.py interfaces.py
	PEAK/src/peak/config: config_components.py interfaces.py

Log Message:
Refactored so that config.loadConfigFile() and config.loadMapping() can
be called on any IConfigurable - which means any Component.  So now you can
do things like 'config.loadConfigFile(config.getGlobal(), somefile)' or
'config.loadMapping(myComponent, config.fileNearModule('foo','bar.ini'))'.

Also fixed an issue where PropertyMap objects wouldn't overwrite an
existing provider if the existing one was registered under the same
interface or property name.

Last, but not least, re-arranged and enhanced both binding.interfaces and
config.interfaces to reflect the nature of things that supply
configuration data, things which can be configured, and the ways in which
these things are accomplished.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 PEAK/src/peak/binding/components.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/config/interfaces.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list