def _get_handlers(self):
        """
            获取 action.handlers

            添加路径 __conf__.ACTION_DIR_NAME 列表中的 action by ABeen 
        """
        # 查找所有 Handler。
        members = {}
        for d in __conf__.ACTION_DIR_NAME:
            members.update(get_members(d,
                           None,
                           lambda m: isclass(m) and issubclass(m, BaseHandler) and hasattr(m, "__urls__") and m.__urls__))

        # 分解 __urls__ 配置。
        handlers = [(pattern, order, h) for h in members.values() for pattern, order in h.__urls__]

        # 排序。
        # handlers.sort(cmp = cmp, key = lambda x: x[1])

        try:
            api_version = __conf__.API_VERSION
        except Exception as e:
            api_version = ''

        handlers = [(api_version + pattern, handler) for pattern, _, handler in handlers]

        handlers.append((r'^/(.*?)$', tornado.web.StaticFileHandler, {"path":"static", "default_filename":"index.html"}))
        return handlers
获取 action.handlers

            添加路径 __conf__.ACTION_DIR_NAME 列表中的 action by ABeen