|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.connection.ConnectionInfoProvider
public abstract class ConnectionInfoProvider
Provider that encapsulates the information required for creating a JDBC Connection.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Constructor Summary | |
---|---|
ConnectionInfoProvider()
|
Method Summary | |
---|---|
static void |
clean()
Cleans out some of the state of the info provider |
protected abstract void |
cleanUp()
Performs any cleanup of the connection info provider |
boolean |
hasConnectInfo()
Checks to see if the provider has the connect information required for creating a JDBC Connection (such has db host, db port and db sid information) |
boolean |
hasDbPwd()
Checks to see if the provider has the db password required for creating the JDBC Connection |
boolean |
hasDbUn()
Checks to see if the provider has the db username required for creating the JDBC Connection |
static ConnectionInfoProvider |
instance()
Returns an instance of a Connection Info Provider based on the current configuration settings. |
static void |
reset()
Resets the provider class so it is loaded anew next time |
abstract void |
setConnectInfo(java.lang.String pConnectInfo)
Sets the given database connect information into the provider. |
abstract void |
setDbPwd(java.lang.String pDbPwd)
Sets the db user password |
abstract void |
setDbUn(java.lang.String pDbUn)
Sets the database username |
abstract void |
validate()
Validates that the database connection information exists. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionInfoProvider()
Method Detail |
---|
public static ConnectionInfoProvider instance()
public static void reset()
public static void clean()
public boolean hasConnectInfo()
true
if provider has the connect information
required for creating JDBC Connection. false
otherwise.public abstract void setConnectInfo(java.lang.String pConnectInfo)
pConnectInfo
- the database connect information required
for creating a JDBC Connectionpublic boolean hasDbUn()
true
if provider has the db username
required for creating JDBC Connection. false
otherwise.public boolean hasDbPwd()
true
if provider has the db password
required for creating JDBC Connection. false
otherwise.public abstract void setDbUn(java.lang.String pDbUn)
pDbUn
- the database usernamepublic abstract void setDbPwd(java.lang.String pDbPwd)
pDbPwd
- the db user passwordpublic abstract void validate()
protected abstract void cleanUp()
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |