
Public Member Functions | |
| void | analyzeConnection () |
| NSDictionary | connectionDictionary () |
| void | dumpClasspath () |
| void | dumpExtensionDirectories () |
| ERXJDBCConnectionAnalyzer (String aModelName) | |
| ERXJDBCConnectionAnalyzer (EOModel aModel) | |
| ERXJDBCConnectionAnalyzer (NSDictionary aConnectionDictionary) | |
| void | findAdaptor () |
| void | findJDBCDriver () |
| void | findPlugin () |
| JDBCAdaptor | targetAdaptor () |
| JDBCPlugIn | targetPlugIn () |
| void | testConnection () |
Static Public Attributes | |
| static final Logger | log = Logger.getLogger("er.transaction.adaptor.ConnectionAnalyzer") |
Private Attributes | |
| NSDictionary | _connectionDictionary |
| JDBCAdaptor | _targetAdaptor |
| JDBCPlugIn | _targetPlugIn |
| ERXJDBCConnectionAnalyzer | ( | NSDictionary | aConnectionDictionary | ) |
Designated constructor. Uses the information in aConnectionDictionary to attempt to make a JDBC connection.
| aConnectionDictionary | the connection information for the JDBC connection |
require [valid_connection_dictionary] aConnectionDictionary != null; *
| ERXJDBCConnectionAnalyzer | ( | EOModel | aModel | ) |
Uses the connection dictionary information in aModel to attempt to make a JDBC connection.
| aModel | the EOModel from which to take the connection information for the JDBC connection |
require [valid_model] aModel != null; *
| ERXJDBCConnectionAnalyzer | ( | String | aModelName | ) |
Uses the connection dictionary information in the EOModel named aModelNameaModel to attempt to make a JDBC connection.
| aModelName | the name of the EOModel from which to take the connection information for the JDBC connection |
| void analyzeConnection | ( | ) |
Controls the order of analysis.
| NSDictionary connectionDictionary | ( | ) |
Returns the connection dictionary being analyzed.
| void dumpClasspath | ( | ) |
| void dumpExtensionDirectories | ( | ) |
| void findAdaptor | ( | ) |
Attempts to load the JDBCAdaptor.
ensure [targetAdaptor_created] targetAdaptor() != null; *
| void findJDBCDriver | ( | ) |
Attempts to load JDBC driver class.
require [targetPlugIn_created] targetPlugIn() != null; *
| void findPlugin | ( | ) |
Attempts to load JDBCPlugIn or sub-class and verify related configuration.
require [targetAdaptor_created] targetAdaptor() != null; *
ensure [targetPlugIn_created] targetPlugIn() != null; *
| JDBCAdaptor targetAdaptor | ( | ) |
Returns an instance of JDBCAdaptor.
| JDBCPlugIn targetPlugIn | ( | ) |
Returns an instance of JDBCPlugIn or sub-class created from the connection dictionary information.
| void testConnection | ( | ) |
Attempts to make connection to databas via JDBC.
require [targetPlugIn_created] targetPlugIn() != null; *
NSDictionary _connectionDictionary [private] |
JDBCAdaptor _targetAdaptor [private] |
JDBCPlugIn _targetPlugIn [private] |
final Logger log = Logger.getLogger("er.transaction.adaptor.ConnectionAnalyzer") [static] |
1.5.8