[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IServiceManagerContainer.py:1.1.2.1

Kapil k_vertigo@yahoo.com
Fri, 8 Feb 2002 15:24:37 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv1805

Added Files:
      Tag: Zope-3x-branch
	IServiceManagerContainer.py 
Log Message:
added service manager interface, to avoid dependency in CA upon 
Zope.App.Service




=== Added File Zope3/lib/python/Zope/ComponentArchitecture/IServiceManagerContainer.py ===
##############################################################################
#
# Copyright (c) 2001 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
# 
##############################################################################
"""

Revision information: $Id: IServiceManagerContainer.py,v 1.1.2.1 2002/02/08 20:24:37 k_vertigo Exp $
"""

from Interface import Interface

class IServiceManagerContainer(Interface):

    def getServiceManager():
        """Returns the service manager contained in this object."""

    def setServiceManager(sm):
        """Sets the service manager for this object."""