avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbenn...@apache.org
Subject cvs commit: avalon-components/facilities/dbcp/impl/conf block.xml
Date Fri, 07 May 2004 23:22:26 GMT
tbennett    2004/05/07 16:22:26

  Added:       facilities/dbcp/impl/conf block.xml
  Log:
  New database Connection Pooling facility
  
  Revision  Changes    Path
  1.1                  avalon-components/facilities/dbcp/impl/conf/block.xml
  
  Index: block.xml
  ===================================================================
  <container name="dbcp-manager">
  
      <classloader>
          <classpath>
              <repository>
                  <resource id="avalon-framework:avalon-framework-api" version="4.1.5"/>
                  <resource id="avalon-framework:avalon-framework-impl" version="4.1.5"/>
  
  				<resource id="avalon-sql:avalon-sql-api" version="1.0-SNAPSHOT"/>
  				<resource id="commons-pool:commons-pool" version="1.1"/>
  				<resource id="commons-dbcp:commons-dbcp" version="1.1"/>
              </repository>
          </classpath>
      </classloader>
      
  	<component name="dbcp-manager" class="org.apache.avalon.sql.DbcpConnectionManager" activation="startup">
  		<configuration>
  			<pool>
  				<max-active></max-active>
  				<min-idle></min-idle>
  				<max-idle></max-idle>
  				<max-wait></max-wait>
  				<min-evict-idle-time></min-evict-idle-time>
  				<time-between-evict-runs></time-between-evict-runs>
  				<test-on-borrow></test-on-borrow>
  				<test-on-return></test-on-return>
  				<test-while-idle></test-while-idle>
  			</pool>
  			<datasources>
  				<datasource name="hsql" default="true">
  					<driver></driver>
  					<db-url></db-url>
  					<username>sa</username>
  					<password></password>
  				</datasource>
  			</datasources>
  		</configuration>
  	</component>
      
  </container>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message