本文整理汇总了Python中zato.server.base.parallel.ParallelServer.service_store方法的典型用法代码示例。如果您正苦于以下问题:Python ParallelServer.service_store方法的具体用法?Python ParallelServer.service_store怎么用?Python ParallelServer.service_store使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类zato.server.base.parallel.ParallelServer
的用法示例。
在下文中一共展示了ParallelServer.service_store方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: parallel_server
# 需要导入模块: from zato.server.base.parallel import ParallelServer [as 别名]
# 或者: from zato.server.base.parallel.ParallelServer import service_store [as 别名]
def parallel_server(self):
server = ParallelServer()
server.odb = self.odb_manager()
server.service_store = self.service_store()
#server.request_handler = self.request_handler()
#server.request_handler.soap_handler.server = server
#server.request_handler.plain_http_handler.server = server
return server
示例2: parallel_server
# 需要导入模块: from zato.server.base.parallel import ParallelServer [as 别名]
# 或者: from zato.server.base.parallel.ParallelServer import service_store [as 别名]
def parallel_server(self):
server = ParallelServer()
server.odb = self.odb_manager()
server.service_store = self.service_store()
server.sql_pool_store = self.sql_pool_store()
server.int_parameters = self.int_parameters()
server.int_parameter_suffixes = self.int_parameter_suffixes()
server.bool_parameter_prefixes = self.bool_parameter_prefixes()
server.internal_service_modules = self.internal_service_modules()
server.service_modules = self.service_modules()
server.kvdb = self.kvdb()
server.user_config = Bunch()
return server
示例3: parallel_server
# 需要导入模块: from zato.server.base.parallel import ParallelServer [as 别名]
# 或者: from zato.server.base.parallel.ParallelServer import service_store [as 别名]
def parallel_server(self):
server = ParallelServer()
server.odb = self.odb_manager()
server.service_store = self.service_store()
server.sql_pool_store = self.sql_pool_store()
server.int_parameters = self.int_parameters()
server.int_parameter_suffixes = self.int_parameter_suffixes()
server.bool_parameter_prefixes = self.bool_parameter_prefixes()
server.soap11_content_type = self.soap11_content_type()
server.soap12_content_type = self.soap12_content_type()
server.plain_xml_content_type = self.plain_xml_content_type()
server.json_content_type = self.json_content_type()
server.internal_service_modules = self.internal_service_modules()
server.service_modules = self.service_modules()
server.kvdb = self.kvdb()
return server