public class ERXJDBCConnectionAnalyzer extends Object
Constructor and Description |
---|
ERXJDBCConnectionAnalyzer(com.webobjects.eoaccess.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.
|
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.
|
public ERXJDBCConnectionAnalyzer(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(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 com.webobjects.jdbcadaptor.JDBCAdaptor targetAdaptor()
public com.webobjects.jdbcadaptor.JDBCPlugIn targetPlugIn()
Copyright © 2002 – 2020 Project Wonder.