Package org.enhydra.jdbc.util

Examples of org.enhydra.jdbc.util.Logger


  /**
   * Constructor
   */
  public StandardPoolDataSource(int initSize) { // with an init Max size
    log = new Logger(glog);
    super.setLogWriter(log);

    pool = new GenericPool(this, initSize);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here


  /**
   * Constructor
   */
  public StandardPoolDataSource(ConnectionPoolDataSource cc) {
    cpds = cc;
    log = new Logger(glog);

    super.setLogWriter(log);
    pool = new GenericPool(this);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

   */
  public StandardPoolDataSource(
    ConnectionPoolDataSource cc,
    int initSize) { // with an init Max size
    cpds = cc;
    log = new Logger(glog);
    super.setLogWriter(log);

    pool = new GenericPool(this, initSize);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

   */
  public StandardPoolDataSource(
    ConnectionPoolDataSource cc,
    int initSize) { // with an init Max size
    cpds = cc;
    log = new Logger(glog);
    super.setLogWriter(log);

    pool = new GenericPool(this, initSize);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

  /**
   * Constructor
   */
  public StandardPoolDataSource() {
    log = new Logger(glog);
    super.setLogWriter(log);

    pool = new GenericPool(this);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

  /**
   * Constructor
   */
  public StandardPoolDataSource(int initSize) { // with an init Max size
    log = new Logger(glog);
    super.setLogWriter(log);

    pool = new GenericPool(this, initSize);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

  /**
   * Constructor
   */
  public StandardPoolDataSource(ConnectionPoolDataSource cc) {
    cpds = cc;
    log = new Logger(glog);

    super.setLogWriter(log);
    pool = new GenericPool(this);
    // create the pool with StandardPoolDataSource object
    pool.setLogger(log);
View Full Code Here

    super();
    driver = null;
    driverName = "";
    url = "";
    transIsolation = -1; //use default
                setLogger(new Logger(LogFactory.getLog("org.enhydra.jdbc.xapool")));
  }
View Full Code Here

  protected StandardDataSource(Driver drv) throws SQLException {
    this();
    driver = drv;
    driverName = drv.getClass().getName();
                setLogger(new Logger(LogFactory.getLog("org.enhydra.jdbc.xapool")));
  }
View Full Code Here

    freeConnections = new Vector(minCon, 1);
    // allow a reasonable size for free connections
    xidConnections = new Hashtable(minCon * 2, 0.5f);
    // ...and same for used connections

    log = new Logger(LogFactory.getLog("org.enhydra.jdbc.xapool"));
    log.debug("StandardXADataSource is created");
  }
View Full Code Here

TOP

Related Classes of org.enhydra.jdbc.util.Logger

Copyright © 2018 www.massapicom. 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.