[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - utility.py:1.1.2.1

Jim Fulton jim@zope.com
Thu, 13 Mar 2003 15:05:45 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv13808

Added Files:
      Tag: local-utility-branch
	utility.py 
Log Message:
commiting to branch

=== Added File Zope3/src/zope/app/interfaces/services/utility.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.
##############################################################################
"""XXX short summary goes here.

XXX longer description goes here.

$Id: utility.py,v 1.1.2.1 2003/03/13 20:05:44 jim Exp $
"""
__metaclass__ = type

from zope.app.interfaces.services.configuration \
     import INamedComponentConfiguration
from zope.app.component.interfacefield import InterfaceField
from zope.app.security.permission import PermissionField
from zope.schema import BytesLine, TextLine

class IUtilityConfiguration(INamedComponentConfiguration):

    interface = InterfaceField(
        title = u"Provided interface",
        description = u"The interface provided by the adapter",
        readonly = True,
        required = True,
        )