[Subversion] / PEAK / CHANGES.txt  

Revision 1196


Jump to revision:
Previous Next
Author: pje
Date: Wed Jun 18 23:39:51 2003 UTC (20 years, 9 months ago)

Log Message:

'peak.naming' no longer automatically converts all addresses to the
addressed objects.  You must specifically request the interface you want
by adapting the retrieved object to that interface.  This can be done by
supplying an 'adaptTo=ISomething' keyword argument to the attribute binding
definition or your 'lookupComponent()' call.

The naming system no longer has 'objectFactories' and 'stateFactories';
these have been replaced with adaptation.  Writable naming contexts must
have a 'serializationProtocol' attribute specifying what interface an object
should be adapted to before attempting to store it in that context.

The naming system no longer processes the 'creationName' keyword argument;
this is now considered the sole responsibility of 'peak.binding'.  The
'IComponent.lookupComponent()' method still accepts the keyword argument,
and attribute bindings still handle the creation name transparently.  It is
just not available via naming system APIs, and naming contexts no longer
have to deal with it.

Also, removed 'naming.ParsedURL'; it was deprecated as of 0.5 alpha 2.

(Note: 'smtp:' URLs are currently broken, in that we don't have an
interface to adapt them to for retrieval, and I didn't want to create
an SMTP naming context, since what we want to do with SMTP is still up in
the air.)

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/CHANGES.txt modified X   (diff to previous)
PEAK/src/peak/binding/components.py modified X   (diff to previous)
PEAK/src/peak/binding/interfaces.py modified X   (diff to previous)
PEAK/src/peak/config/config_components.py modified X   (diff to previous)
PEAK/src/peak/config/interfaces.py modified X   (diff to previous)
PEAK/src/peak/config/load_zconfig.py modified X   (diff to previous)
PEAK/src/peak/naming/URL.py modified X   (diff to previous)
PEAK/src/peak/naming/contexts.py modified X   (diff to previous)
PEAK/src/peak/naming/factories/openable.py modified X   (diff to previous)
PEAK/src/peak/naming/factories/shellcmd.py modified X   (diff to previous)
PEAK/src/peak/naming/factories/smtp.py modified X   (diff to previous)
PEAK/src/peak/naming/interfaces.py modified X   (diff to previous)
PEAK/src/peak/naming/names.py modified X   (diff to previous)
PEAK/src/peak/naming/spi.py modified X   (diff to previous)
PEAK/src/peak/peak.ini modified X   (diff to previous)
PEAK/src/peak/running/commands.py modified X   (diff to previous)
PEAK/src/peak/running/interfaces.py modified X   (diff to previous)
PEAK/src/peak/running/lockfiles.py modified X   (diff to previous)
PEAK/src/peak/running/logs.py modified X   (diff to previous)
PEAK/src/peak/storage/DDE.py modified X   (diff to previous)
PEAK/src/peak/storage/LDAP.py modified X   (diff to previous)
PEAK/src/peak/storage/SQL.py modified X   (diff to previous)
PEAK/src/peak/storage/interfaces.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help