|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.components.datasource.DBCPDatasourceComponent
org.apache.jetspeed.components.datasource.BoundDBCPDatasourceComponent
public class BoundDBCPDatasourceComponent
Bound DBCP Data Source
| Field Summary | |
|---|---|
private String |
bindName
|
private JNDIComponent |
jndi
|
| Fields inherited from class org.apache.jetspeed.components.datasource.DBCPDatasourceComponent |
|---|
dataSource |
| Constructor Summary | |
|---|---|
BoundDBCPDatasourceComponent(String user,
String password,
String driverName,
String connectURI,
int maxActive,
int maxWait,
byte whenExhausted,
boolean autoCommit,
String bindName,
JNDIComponent jndi)
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
void |
start()
Same as DBCPDatasourceComponent.start()
but also binds these javax.sql.DataSource
created to the bindName. |
void |
stop()
stop |
| Methods inherited from class org.apache.jetspeed.components.datasource.DBCPDatasourceComponent |
|---|
getDatasource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private JNDIComponent jndi
private String bindName
| Constructor Detail |
|---|
public BoundDBCPDatasourceComponent(String user,
String password,
String driverName,
String connectURI,
int maxActive,
int maxWait,
byte whenExhausted,
boolean autoCommit,
String bindName,
JNDIComponent jndi)
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.| Method Detail |
|---|
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic void start()
DBCPDatasourceComponent.start()
but also binds these javax.sql.DataSource
created to the bindName.
start in class DBCPDatasourceComponentorg.picocontainer.Startable#start()public void stop()
DBCPDatasourceComponentstop
stop in class DBCPDatasourceComponentorg.picocontainer.Startable#stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||