|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jdbcimporter.connection.JNDIConnectionDef
The JNDIConnectionDef defines attributes to use to retrieve a connection from a data source in a JNDI namespace.
| Field Summary | |
protected static org.apache.commons.logging.Log |
LOG
The log for debug information. |
| Constructor Summary | |
JNDIConnectionDef()
Create a JNDI connection definition. |
|
| Method Summary | |
java.sql.Connection |
getConnection()
Returns the connection. |
void |
releaseConnection(java.sql.Connection con)
Releases the connection specified. |
void |
setName(java.lang.String name)
Sets the name of the data source. |
void |
setObjectFactories(java.lang.String factories)
Sets the list of classnames that should be used as object factories. |
void |
setProviderURL(java.lang.String url)
Sets the url of the JNDI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log LOG
| Constructor Detail |
public JNDIConnectionDef()
| Method Detail |
public void setName(java.lang.String name)
name - name of the data sourcepublic void setProviderURL(java.lang.String url)
url - the provider urlpublic void setObjectFactories(java.lang.String factories)
factories - the list of object factoriespublic java.sql.Connection getConnection()
ConnectionDef
getConnection in interface ConnectionDefConnectionDef.getConnection()public void releaseConnection(java.sql.Connection con)
ConnectionDef
releaseConnection in interface ConnectionDefcon - the connection.ConnectionDef.releaseConnection(java.sql.Connection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||