|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeuristicDataSource
A data source that supports the addition of heuristic messages to SQL data access.
Method Summary | |
---|---|
Connection |
getConnection(HeuristicMessage msg)
Get a connection to the datasource for the given description of the work. |
Connection |
getConnection(String msg)
Get a connection to the datasource for the given description of the work. |
Connection |
getConnection(String user,
String passwd,
HeuristicMessage msg)
Get a connection to the datasource for the given description of the work. |
Connection |
getConnection(String user,
String passwd,
String msg)
Get a connection to the datasource for the given description of the work. |
Methods inherited from interface javax.sql.DataSource |
---|
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Method Detail |
---|
Connection getConnection(String msg) throws SQLException
msg
- The heuristic message that best describes the work about to be
done.
SQLException
- On error.Connection getConnection(String user, String passwd, String msg) throws SQLException
user
- The user name to use.passwd
- The password.msg
- The heuristic message that best describes the work about to be
done.
SQLException
- On error.Connection getConnection(HeuristicMessage msg) throws SQLException
msg
- The heuristic message that best describes the work about to be
done.
SQLException
- On error.Connection getConnection(String user, String passwd, HeuristicMessage msg) throws SQLException
user
- The user name to use.passwd
- The password.msg
- The heuristic message that best describes the work about to be
done.
SQLException
- On error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |