Esempio n. 1
0
  private boolean storeConfig() {
    synchronized (this) {
      try {
        Config config = m_configDao.createLocal();

        config.setId(m_configId);
        config.setKeyId(m_configId);
        config.setName(CONFIG_NAME);
        config.setContent(m_thirdPartyConfig.toString());
        m_configDao.updateByPK(config, ConfigEntity.UPDATESET_FULL);
      } catch (Exception e) {
        Cat.logError(e);
        return false;
      }
    }
    return true;
  }
Esempio n. 2
0
 public List<Http> queryHttps() {
   return m_thirdPartyConfig.getHttps();
 }
Esempio n. 3
0
 public List<Socket> querSockets() {
   return m_thirdPartyConfig.getSockets();
 }