def get_all_state_managers(conf):
state_managers = []<EOL>try:<EOL><INDENT>state_managers.extend(get_all_zk_state_managers(conf))<EOL>state_managers.extend(get_all_file_state_managers(conf))<EOL>return state_managers<EOL><DEDENT>except Exception as ex:<EOL><INDENT>LOG.error("<STR_LIT>")<EOL>raise ex<EOL><DEDENT>
@param conf - An instance of Config class
Reads the config for requested state managers.
Instantiates them, start and then return them.