Inheritance diagram for sfi.director.repository.JDBC:

Public Member Functions | ||||
| JDBC () | ||||
| track number of maximum unsuccessful re-connection retries the LDAP is willing to do. | ||||
| JDBC (String url) | ||||
| void | setCredentials (Credentials cred) | |||
| synchronized void | setURL (String url) throws DirectorException | |||
| Enumeration | search (String expr, final Options searchopt) throws DirectorException | |||
| DBAccessor | get (DN dn) throws DirectorException | |||
| void | remove (DBObject dbo) throws DirectorException | |||
| void | append (DBObject dbo) throws DirectorException | |||
*
| ||||
| void | replace (DBObject dbo) throws DirectorException | |||
| void | truncate () throws DirectorException | |||
Static Public Attributes | ||||
| static final int | retryLoopDelay = 5000 | |||
| static final int | retryMaxCount = 24 | |||
Protected Member Functions | ||||
| CachedConnection | getCachedConnection () throws DirectorException | |||
| void | putCachedConnection (CachedConnection conn) | |||
| java.sql.Connection | getConnection () throws DirectorException | |||
| String | getPrimaryKey (java.sql.Connection conn, String tableName) throws Exception | |||
| String[] | parseDN (DN dn) throws DirectorException | |||
| String | encodeValue (String value) | |||
| String | sqlFilter (String attr, String value) | |||
| Hashtable | getColumns (java.sql.Connection conn, String table) throws DirectorException | |||
| Enumeration | enumerateTables (final String expr, final Options searchopt) throws DirectorException | |||
Protected Attributes | ||||
| boolean | wasConnectedBefore = false | |||
| Hashtable | columnCache = new Hashtable() | |||
| Vector | cachedConnections = new Vector() | |||
Static Protected Attributes | ||||
| static int | reconnectRetries | |||
| static Hashtable | loadedDrivers = new Hashtable() | |||
Package Attributes | ||||
| String | url | |||
| String | databaseURL | |||
| String | username | |||
| String | password | |||
| DN | rootDN | |||
| Credentials | accessCreds | |||
| String | orgUrl | |||
Classes | ||||
| class | CachedConnection | |||
| class | JDBCTableEnumeration | |||
| class | SelectEnumeration | |||
|
|
track number of maximum unsuccessful re-connection retries the LDAP is willing to do. This is 'static' since we want to avoid the number of retries increase with the number of open connections. |
|
|
|
|
|
*
Implements sfi.director.repository.DBConnection. |
|
|
|
|
||||||||||||
|
|
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
||||||||||||
|
|
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
||||||||||||
|
|
|
|
Implements sfi.director.repository.DBConnection. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from sfi.director.repository.DBConnection. |
|
|
|
|
|
|
1.4.5