Home
last modified time | relevance | path

Searched refs:service_factory (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dservice.py57 def service_mapping(service_factory, service_path=r'.*', protocols=None): argument
69 service_class = getattr(service_factory, 'service_class', service_factory)
156 instance = service_factory()
245 for service_path, service_factory in services:
247 service_class = service_factory.service_class
249 service_class = service_factory
261 final_mapping.append(service_mapping(service_factory, service_path))
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dtransport.py358 def __init__(self, service_factory): argument
365 self.__service_class = getattr(service_factory,
367 service_factory)
368 self.__service_factory = service_factory
375 def service_factory(self): member in LocalTransport
Dremote.py904 def service_factory(): function
909 service_factory.__doc__ = (
916 service_factory.__name__ = '%s_service_factory' % cls.__name__
918 service_factory.service_class = cls
920 return service_factory
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py290 def __init__(self, service_factory): argument
297 self.__service_factory = service_factory
317 def service_factory(self): member in ServiceHandlerFactory
354 def default(cls, service_factory, parameter_prefix=''): argument
373 factory = cls(service_factory)
Dservice_handlers_test.py177 self.assertEquals(Service, handler_factory.service_factory)
230 self.assertEquals(Service, handler_factory.service_factory)
253 self.service_factory = Service
267 return self.service_factory()
465 self.service_factory = ServiceWithState
511 self.service_factory = ServiceWithState
1157 mapped_registry_factory.service_factory.service_class)
1174 self.assertEquals(service, mapped_factory.service_factory)
1215 self.assertEquals(MyService, factory.service_factory)
1227 self.assertEquals(MyService, factory.service_factory.service_class)