E&S CVS Commit: PEAK - New semantics for 'lookupComponent()': it's now fully integrated with
pje at eby-sarna.com
pje at eby-sarna.com
Mon Jul 1 09:33:01 EDT 2002
Module Name: PEAK
Committed By: pje
Date: Mon Jul 1 13:32:46 UTC 2002
Modified Files:
PEAK/src/peak/binding: components.py
PEAK/src/peak/binding/tests: __init__.py
PEAK/src/peak/model: interfaces.py
PEAK/src/peak/naming: api.py spi.py
Log Message:
New semantics for 'lookupComponent()': it's now fully integrated with
peak.naming, so URLs and names acquired "off the top of the hierarchy"
should now work. It also takes '/'-separated paths now instead of
'.'-separated ones, and includes support for absolute paths (beginning
with '/') and relative ones ('.', '..'). The name is now a required
argument (it used to be optional and would do the equivalent of '..').
In addition, there are many refinements to the binding package,
including lots of new module-level component navigation functions like
'getRootComponent()', 'acquireComponent()', etc. See the docs for
details. Almost all of them have tests, too. Last, but not least,
I hacked on the naming API/SPI modules so that they'll work for now
with an empty default environment and using 'AbstractContext' as the
default 'InitialContext'. That'll let us use whatever URL context
providers we want to put in before we get around to implementing the
configuration system and its defaults...
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.24&r2=1.25
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/model/interfaces.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/naming/api.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/naming/spi.py.diff?r1=1.16&r2=1.17
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 PEAK/src/peak/binding/components.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/binding/tests/__init__.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/model/interfaces.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/naming/api.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/naming/spi.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