public void Init_by_wiki(Xow_wiki wiki) { if (init) return; try { init = true; // if (wiki.File__fsdb_mode().Tid_v0()) return; this.url_bldr = Xof_url_bldr.new_v2(); this.repo_mgr = wiki.File__repo_mgr(); Fsdb_db_mgr fsdb_core = wiki.File__fsdb_core(); // Fsdb_db_mgr fsdb_core = Fsdb_db_mgr_.new_detect(wiki, wiki.Fsys_mgr().Root_dir(), // wiki.Fsys_mgr().File_dir()); if (fsdb_core == null) return; fsdb_enabled = true; mnt_mgr.Ctor_by_load(fsdb_core); this.bin_mgr = new Xof_bin_mgr( mnt_mgr, repo_mgr, wiki.App().File__img_mgr().Wkr_resize_img(), wiki.App().Wmf_mgr().Download_wkr().Download_xrg().Download_fmt()); bin_mgr.Wkrs__add(Xof_bin_wkr__fsdb_sql.new_(mnt_mgr)); bin_mgr.Wkrs__add(Xof_bin_wkr__http_wmf.new_(wiki)); } catch (Exception e) { throw Err_.new_exc(e, "xo", "failed to initialize fsdb_mgr}", "wiki", wiki.Domain_str()); } }
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) { throw Err_.new_unimplemented_w_msg("implemented for Xoa_cfg_mgr"); }