[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - interface.py:1.1
Jeremy Hylton
jeremy@zope.com
Mon, 23 Jun 2003 12:17:45 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv5317/src/zope/app/interfaces/services
Added Files:
interface.py
Log Message:
Add interface to support querying services via interfaces.
=== Added File Zope3/src/zope/app/interfaces/services/interface.py ===
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces related to the local interface service."""
from zope.interface import Interface
class IInterfaceBasedRegistry(Interface):
"""Registries that use interfaces."""
def getRegistrationsForInterface(iface):
"""Return registrations related to iface."""