Examples of AtomAlreadyInitException


Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

   *
   * @throws Exception
   */
  protected void init() throws Exception {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] double call Init !");
    }
    // 1.��ʼ���������
    if (TStringUtil.isBlank(this.appName) || TStringUtil.isBlank(this.dbKey)) {
      String errorMsg = "[attributeError] TAtomDatasource of appName Or dbKey is Empty !";
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

    this.runTimeConf.setSingleInGroup(isSingleInGroup);
  }

  public void setAppName(String appName) throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset appName !");
    }
    this.appName = appName;
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

    this.appName = appName;
  }

  public void setDbKey(String dbKey) throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset dbKey !");
    }
    this.dbKey = dbKey;
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

    this.dbKey = dbKey;
  }

  public void setLocalPasswd(String passwd) throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset passwd !");
    }
    this.localConf.setPasswd(passwd);
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

  }

  public void setLocalConnectionProperties(Map<String, String> map)
      throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset connectionProperties !");
    }
    this.localConf.setConnectionProperties(map);
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

  }

  public void setLocalDriverClass(String driverClass)
      throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset driverClass !");
    }
    this.localConf.setDriverClass(driverClass);
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

  }

  public void setLocalSorterClass(String sorterClass)
      throws AtomAlreadyInitException {
    if (initFalg) {
      throw new AtomAlreadyInitException(
          "[AlreadyInit] couldn't Reset sorterClass !");
    }
    this.localConf.setSorterClass(sorterClass);
  }
View Full Code Here

Examples of com.taobao.tddl.jdbc.atom.exception.AtomAlreadyInitException

  private volatile boolean init;

  public void init() throws Exception {
    if (init) {
      throw new AtomAlreadyInitException("[AlreadyInit] double call Init !");
    }
    LocalTxDataSourceDO localTxDataSourceDO = TAtomDsConfHandle.convertTAtomDsConf2JbossConf(confDO, confDO
        .getDbName());
    boolean checkPram = TAtomDsConfHandle.checkLocalTxDataSourceDO(localTxDataSourceDO);
    if (checkPram) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.