|
Project Wonder 5.0 | |||||||||||
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 org.apache.log4j.Logger |
log
|
Constructor Summary | |
---|---|
ERXJDBCConnectionAnalyzer(com.webobjects.eoaccess.EOModel aModel)
Uses the connection dictionary information in aModel to attempt to make a JDBC connection. |
|
ERXJDBCConnectionAnalyzer(com.webobjects.foundation.NSDictionary aConnectionDictionary)
Designated constructor. |
|
ERXJDBCConnectionAnalyzer(java.lang.String aModelName)
Uses the connection dictionary information in the EOModel named aModelName aModel to attempt to
make a JDBC connection. |
Method Summary | |
---|---|
void |
analyzeConnection()
Controls the order of analysis. |
com.webobjects.foundation.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. |
com.webobjects.jdbcadaptor.JDBCAdaptor |
targetAdaptor()
Returns an instance of JDBCAdaptor. |
com.webobjects.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 org.apache.log4j.Logger log
Constructor Detail |
---|
public ERXJDBCConnectionAnalyzer(com.webobjects.foundation.NSDictionary aConnectionDictionary)
aConnectionDictionary
to attempt to make a JDBC
connection.
aConnectionDictionary
- the connection information for the JDBC connectionpublic ERXJDBCConnectionAnalyzer(com.webobjects.eoaccess.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(java.lang.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
connectionMethod Detail |
---|
public void analyzeConnection()
public void findAdaptor()
public void findPlugin()
public void findJDBCDriver()
public void testConnection()
public void dumpClasspath()
public void dumpExtensionDirectories()
public com.webobjects.foundation.NSDictionary connectionDictionary()
public com.webobjects.jdbcadaptor.JDBCAdaptor targetAdaptor()
public com.webobjects.jdbcadaptor.JDBCPlugIn targetPlugIn()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |