def _terminate(self): AmqpManager.instance().terminate() CoroutineFlaskApplication._terminate(self)
def run(self): # AmqpManager.instance().getMessageQueue('mq_mess').open(AccessMode.READ) CoroutineFlaskApplication.run(self)
def __init__(self): CoroutineFlaskApplication.__init__(self)
def init(self): CoroutineFlaskApplication.init(self) # AmqpManager.instance().init(self.getConfig().get('amqp_config')) cfgs = self.getConfig() UserManager.instance().init(cfgs.get('user_service'))
def init(self): CoroutineFlaskApplication.init(self) AmqpManager.instance().init(self.getConfig().get('amqp_config')) TraceService.instance().init(self.getConfig().get('data_tracer'))