import XMLRpcTools
import XmlRpcProxy
def initialize(context):
"""xmlrpc server proxy"""
context.registerClass(
XMLRpcTools.XMLRpcServerProxy,
constructors = (
XMLRpcTools.manage_addXMLRpcServerProxyForm,
XMLRpcTools.manage_addXMLRpcServerProxy
)
)
context.registerClass(
XmlRpcProxy.XmlRpcProxyFolder,
constructors = (
XmlRpcProxy.manage_addXmlRpcProxyFolderForm,
XmlRpcProxy.manage_addXmlRpcProxyFolder
)
)
context.registerClass(
XmlRpcProxy.XmlRpcProxyMethod,
constructors = (
XmlRpcProxy.manage_addXmlRpcProxyMethodForm,
XmlRpcProxy.manage_addXmlRpcProxyMethod
)
)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>