|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.log4j.jdbcplus.JDBCDefaultConnectionHandler
This is a default JDBCConnectionHandler used by JDBCAppender
| Constructor Summary | |
JDBCDefaultConnectionHandler(String aUrl,
String aUsername,
String aPassword)
|
|
| Method Summary | |
void |
freeConnection(Connection con)
interface implementation |
Connection |
getConnection()
Gets the Connection attribute of the JDBCDefaultConnectionHandler object |
Connection |
getConnection(String _url,
String _username,
String _password)
Gets the Connection attribute of the JDBCDefaultConnectionHandler object |
String |
getPassword()
|
String |
getUrl()
|
String |
getUsername()
|
void |
setPassword(String string)
|
void |
setUrl(String string)
|
void |
setUsername(String string)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCDefaultConnectionHandler(String aUrl,
String aUsername,
String aPassword)
| Method Detail |
public Connection getConnection()
throws Exception
getConnection in interface JDBCConnectionHandlerException - Description of Exception
public Connection getConnection(String _url,
String _username,
String _password)
throws Exception
getConnection in interface JDBCConnectionHandler_url - Description of Parameter_username - Description of Parameter_password - Description of Parameter
Exception - Description of Exception
public void freeConnection(Connection con)
throws Exception
freeConnection in interface JDBCPoolConnectionHandlercon -
Exceptionpublic String getPassword()
public String getUrl()
public String getUsername()
public void setPassword(String string)
string - public void setUrl(String string)
string - public void setUsername(String string)
string -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||