def _add_addon_views(self):
for addon in self._addon_managers:<EOL><INDENT>addon_class = dynamic_class_import(addon)<EOL>if addon_class:<EOL><INDENT>addon_class = addon_class(self)<EOL>try:<EOL><INDENT>addon_class.pre_process()<EOL>addon_class.register_views()<EOL>addon_class.post_process()<EOL>self.addon_managers[addon] = addon_class<EOL>log.info(LOGMSG_INF_FAB_ADDON_ADDED.format(str(addon)))<EOL><DEDENT>except Exception as e:<EOL><INDENT>log.exception(e)<EOL>log.error(LOGMSG_ERR_FAB_ADDON_PROCESS.format(addon, e))<EOL><DEDENT><DEDENT><DEDENT>
Registers declared addon's