[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/XMLRPC - Publication.py:1.1.2.1 __init__.py:1.1.4.1
Stephan Richter
srichter@cbu.edu
Wed, 27 Mar 2002 10:05:09 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/XMLRPC
In directory cvs.zope.org:/tmp/cvs-serv32058/XMLRPC
Added Files:
Tag: Zope-3x-branch
Publication.py __init__.py
Log Message:
- XML-RPC support
- security
- ZCML cleanup
=== Added File Zope3/lib/python/Zope/App/ZopePublication/XMLRPC/Publication.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 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
#
##############################################################################
"""
$Id: Publication.py,v 1.1.2.1 2002/03/27 15:05:08 srichter Exp $
"""
from Zope.App.ZopePublication.HTTP.Publication import ZopeHTTPPublication
from Zope.ComponentArchitecture import getRequestView
from Zope.ContextWrapper import Wrapper
from Zope.App.Security.SecurityManagement import getSecurityManager
class XMLRPCPublication(ZopeHTTPPublication):
"""XML-RPC publication handling.
There is nothing special here right now.
"""
# For now, have a factory that returns a singleton
class XMLRPCPublicationFactory:
def __init__(self, db):
self.__pub = XMLRPCPublication(db)
def __call__(self):
return self.__pub
=== Added File Zope3/lib/python/Zope/App/ZopePublication/XMLRPC/__init__.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 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
#
##############################################################################
"""
Zope publication package.
$Id: __init__.py,v 1.1.4.1 2002/03/27 15:05:08 srichter Exp $
"""