[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces -
component.py:1.6
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Mar 3 12:06:45 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv16824/src/zope/app/interfaces
Modified Files:
component.py
Log Message:
Changed DAV schemas to be utilities. However, I left the dav:provideInterface
directive in place, since it hides some unnecessary indirections.
Removed the schema service interfaces. They should never have been here in the
first place.
=== Zope3/src/zope/app/interfaces/component.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/component.py:1.5 Tue Feb 24 09:16:59 2004
+++ Zope3/src/zope/app/interfaces/component.py Wed Mar 3 12:06:44 2004
@@ -71,35 +71,6 @@
module and name.
"""
-class IDAVSchemaService(IInterfaceService):
- """Service that keeps tracks of namespace to interfaces mapping"""
- pass
-
-class IGlobalDAVSchemaService(IDAVSchemaService):
- """Global registry from DAV namespaces to interfaces
- """
-
- def provideInterface(id, interface):
- """Register an interface with a given id
-
- The id is the URI for the namespace.
- """
-
- def availableNamespaces():
- """Returns a list of available namespaces we know about"""
-
- def getNamespace(interface):
- """Find what namespace is associated with an interface.
-
- A ComponentLookupError is raised if the interface is not found.
- """
-
- def queryNamespace(interface, default=None):
- """Find what namespace is associated with an interface.
-
- The default value is returned if the interface is not found.
- """
-
class IInterfaceField(IEnumerated, IField):
u"""A type of Field that has an Interfaces as its value."""
More information about the Zope3-Checkins
mailing list