public void stopService() {
   // mainly important in testing to blank this
   lastPluginDir = INITIAL_PLUGIN_DIR;
   if (CurrentConfig.getBooleanParam(PARAM_CLEAR_DIR_MAP, DEFAULT_CLEAR_DIR_MAP)) {
     // This should be in RepositoryManager.stopService()
     localRepositories = new HashMap();
   }
   super.stopService();
 }
 public void startService() {
   super.startService();
   repoMgr = getDaemon().getRepositoryManager();
   isGlobalNodeCache = repoMgr.isGlobalNodeCache();
   if (isGlobalNodeCache) {
     nodeCache = repoMgr.getGlobalNodeCache();
   } else {
     //       nodeCache =
     // 	new UniqueRefLruCache(repoMgr.paramNodeCacheSize);
     setNodeCacheSize(repoMgr.paramNodeCacheSize);
   }
 }
 public void startService() {
   super.startService();
   loadKeyStores();
 }
Ejemplo n.º 4
0
 public void startService() {
   super.startService();
   localRepos = new HashMap();
 }