Return-Path: Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 68217 invoked by uid 500); 19 Jun 2003 17:43:01 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 68175 invoked by uid 500); 19 Jun 2003 17:43:00 -0000 Received: (qmail 68162 invoked from network); 19 Jun 2003 17:43:00 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 19 Jun 2003 17:43:00 -0000 Received: (qmail 63817 invoked by uid 1438); 19 Jun 2003 17:42:59 -0000 Date: 19 Jun 2003 17:42:59 -0000 Message-ID: <20030619174259.63816.qmail@icarus.apache.org> From: mcconnell@apache.org To: avalon-components-cvs@apache.org Subject: cvs commit: avalon-components/site/xdocs/components connection.xml datasource.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mcconnell 2003/06/19 10:42:59 Modified: datasources-impl/conf block.xml site/xdocs/components connection.xml datasource.xml Log: Documation enhancement. Revision Changes Path 1.2 +0 -2 avalon-components/datasources-impl/conf/block.xml Index: block.xml =================================================================== RCS file: /home/cvs/avalon-components/datasources-impl/conf/block.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- block.xml 19 Jun 2003 16:59:02 -0000 1.1 +++ block.xml 19 Jun 2003 17:42:59 -0000 1.2 @@ -33,8 +33,6 @@ - - 1.2 +43 -3 avalon-components/site/xdocs/components/connection.xml Index: connection.xml =================================================================== RCS file: /home/cvs/avalon-components/site/xdocs/components/connection.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- connection.xml 4 May 2003 12:19:49 -0000 1.1 +++ connection.xml 19 Jun 2003 17:42:59 -0000 1.2 @@ -4,15 +4,55 @@ Stephen McConnell - Cornerstone Scheduler + Cornerstone Connection -
-

PLACEHOLDER

+
+ +

+ The ConnectionManager service provides a facility to listen + for incoming socket connections. + The DefaultConnectionManager compoent gives a thread pooled + implementation of this service. If there are multiple server + components depending on this component, they would all share + the same thread pool. +

+
+ + + + + + + + +
ContainmentClassic Framework 4.
Lifestylesingleton
Lifecycle + + + + + + + + + + + +
StageDescription
LogEnabledLogs lifescycle stages and handles assignment + of logging channels to managed connection handlers.
Serviceable + The connection manager has a structural dependency on the + Threadscomponent. +
Disposable + Disconnects all standing connections. +
+
+
+ + 1.2 +77 -2 avalon-components/site/xdocs/components/datasource.xml Index: datasource.xml =================================================================== RCS file: /home/cvs/avalon-components/site/xdocs/components/datasource.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- datasource.xml 4 May 2003 12:19:49 -0000 1.1 +++ datasource.xml 19 Jun 2003 17:42:59 -0000 1.2 @@ -4,15 +4,90 @@ Stephen McConnell - Cornerstone Datasource + Cornerstone Connection
-

PLACEHOLDER

+ +

+ The ConnectionManager service provides a facility to listen + for incoming socket connections. + The DefaultConnectionManager compoent gives a thread pooled + implementation of this service. If there are multiple server + components depending on this component, they would all share + the same thread pool. +

+
+ + + + + + + + +
ContainmentClassic Framework 4.
Lifestylesingleton
Lifecycle + + + + + + + + + + + + + + + + + + + +
StageDescription
LogEnabledLogs lifescycle stages and handles assignment + of logging channels to managed connection handlers.
Contextualizable + + + + + + + +
KeyTypeRequired
block.nameThe component name.false
+
Configurable +

Example configuration:

+ + <configuration> + <data-source name="default" + class="org.apache.avalon.excalibur.datasource.JdbcDataSource"> + <!-- configuration for JdbcDataSource --> + <pool-controller min="5" max="10" + connection-class="my.overrided.ConnectionClass"> + <keep-alive>select 1</keep-alive> + </pool-controller> + <driver>com.database.jdbc.JdbcDriver</driver> + <dburl>jdbc:driver://host/mydb</dburl> + <user>username</user> + <password>password</password> + </data-source> + </configuration> + +
Initializable + Component initialization. +
Disposable + Component disposal. +
+
+
+ + + --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org For additional commands, e-mail: cvs-help@avalon.apache.org