public class ERXJDBCConnectionAnalyzer extends Object
Constructor and Description |
---|
ERXJDBCConnectionAnalyzer(EOModel aModel)
Uses the connection dictionary information in
aModel to attempt to make a JDBC connection. |
ERXJDBCConnectionAnalyzer(NSDictionary aConnectionDictionary)
Designated constructor.
|
ERXJDBCConnectionAnalyzer(String aModelName)
Uses the connection dictionary information in the EOModel named
aModelName aModel to attempt to
make a JDBC connection. |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
findJDBCDriver()
Attempts to load JDBC driver class.
|
void |
findPlugin()
Attempts to load JDBCPlugIn or sub-class and verify related configuration.
|
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.
|
public ERXJDBCConnectionAnalyzer(NSDictionary aConnectionDictionary)
aConnectionDictionary
to attempt to make a JDBC
connection.aConnectionDictionary
- the connection information for the JDBC connectionpublic ERXJDBCConnectionAnalyzer(EOModel aModel)
aModel
to attempt to make a JDBC connection.aModel
- the EOModel
from which to take the connection information for the JDBC connectionpublic ERXJDBCConnectionAnalyzer(String aModelName)
aModelName
aModel to attempt to
make a JDBC connection.aModelName
- the name of the EOModel
from which to take the connection information for the JDBC
connectionpublic void analyzeConnection()
public void findAdaptor()
public void findPlugin()
public void findJDBCDriver()
public void testConnection()
public void dumpClasspath()
public void dumpExtensionDirectories()
public NSDictionary connectionDictionary()
public JDBCAdaptor targetAdaptor()
public JDBCPlugIn targetPlugIn()
Copyright © 2002 – 2024 Project Wonder.