|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecter.extensions.jdbc.ERXJDBCConnectionAnalyzer
public class ERXJDBCConnectionAnalyzer
Attempts to verify that a JDBC connection can be made and prints out diagnostic suggestions and information if it cannot.
| Field Summary | |
|---|---|
static Logger |
log
|
| Constructor Summary | |
|---|---|
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 aModelNameaModel to attempt to
make a JDBC connection. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger log
| Constructor Detail |
|---|
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)
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| Method Detail |
|---|
public 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()
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||