org.apache.jetspeed.components.datasource
Class BoundDBCPDatasourceComponent
java.lang.Object
org.apache.jetspeed.components.datasource.DBCPDatasourceComponent
org.apache.jetspeed.components.datasource.BoundDBCPDatasourceComponent
- All Implemented Interfaces:
- DatasourceComponent
public class BoundDBCPDatasourceComponent
- extends DBCPDatasourceComponent
Bound DBCP Data Source
- Version:
- $Id: BoundDBCPDatasourceComponent.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Scott Weaver
Constructor Summary |
BoundDBCPDatasourceComponent(java.lang.String user,
java.lang.String password,
java.lang.String driverName,
java.lang.String connectURI,
int maxActive,
int maxWait,
byte whenExhausted,
boolean autoCommit,
java.lang.String bindName,
JNDIComponent jndi)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundDBCPDatasourceComponent
public BoundDBCPDatasourceComponent(java.lang.String user,
java.lang.String password,
java.lang.String driverName,
java.lang.String connectURI,
int maxActive,
int maxWait,
byte whenExhausted,
boolean autoCommit,
java.lang.String bindName,
JNDIComponent jndi)
- Parameters:
user
- password
- driverName
- connectURI
- maxActive
- maxWait
- whenExhausted
- autoCommit
- bindName
- JNDI name to bind this javax.sql.DataSource
created by this class to.jndi
- JNDIComponent we will use to bind.
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
start
public void start()
- Same as
DBCPDatasourceComponent.start()
but also binds these javax.sql.DataSource
created to the bindName
.
- Overrides:
start
in class DBCPDatasourceComponent
- See Also:
org.picocontainer.Startable#start()
stop
public void stop()
- Description copied from class:
DBCPDatasourceComponent
stop
- Overrides:
stop
in class DBCPDatasourceComponent
- See Also:
org.picocontainer.Startable#stop()
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.