|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shift.framework.rdbc.GauceDataSource
public class GauceDataSource
Database¿¡ ConnectionÀ» À§ÇÑ ¹°¸®ÀûÀÎ data source·ÎÀÇ ¿¬°áÀ» À§ÇÑ ÆÑÅ丮ÀÎ DataSource¸¦ ±¸ÇöÇÑ GauceDataSource´Â ConnectionÀ» »ý¼ºÇÏ¿© ¹ÝȯÇÏ´Â ¿ªÇÒÀ» ÇÑ´Ù.
Constructor Summary | |
---|---|
GauceDataSource(org.w3c.dom.Node node)
»ý¼ºÀÚ, data sourceÀÇ ¼³Á¤³»¿ëÀ» °¡Áø DocumentÀÇ °¢ ³ëµå¹× ¾îÆ®¸®ºäÆ®¸¦ °¡Áø NamedNodeMapÀ» °¡Áø´Ù. |
Method Summary | |
---|---|
java.sql.Connection |
getConnection()
Connecion ¸¦ ¹ÝȯÇÑ´Ù. |
java.sql.Connection |
getConnection(java.lang.String username,
java.lang.String password)
Connecion ¸¦ ¹ÝȯÇÑ´Ù. |
int |
getLoginTimeout()
±¸ÇöµÇÁö ¾ÊÀ½. |
java.io.PrintWriter |
getLogWriter()
±¸ÇöµÇÁö ¾ÊÀ½. |
void |
setLoginTimeout(int seconds)
±¸ÇöµÇÁö ¾ÊÀ½. |
void |
setLogWriter(java.io.PrintWriter out)
±¸ÇöµÇÁö ¾ÊÀ½. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Constructor Detail |
---|
public GauceDataSource(org.w3c.dom.Node node)
node
- attrs - DocumentÀÇ °¢ ³ëµå¹× ¾îÆ®¸®ºäÆ®¸¦ °¡Áø NamedNodeMapMethod Detail |
---|
public java.sql.Connection getConnection() throws java.sql.SQLException
Connecion
¸¦ ¹ÝȯÇÑ´Ù.
getConnection
in interface javax.sql.DataSource
Connecion
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) throws java.sql.SQLException
Connecion
¸¦ ¹ÝȯÇÑ´Ù.
getConnection
in interface javax.sql.DataSource
username
- - data source¿¡ ¼³Á¤µÈ »ç¿ëÀÚ À̸§password
- - data source¿¡ ¼³Á¤µÈ »ç¿ëÀÚ ÆÐ½º¿öµå
Connecion
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.CommonDataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
setLogWriter
in interface javax.sql.CommonDataSource
out
-
java.sql.SQLException
public void setLoginTimeout(int seconds) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.CommonDataSource
seconds
-
java.sql.SQLException
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.CommonDataSource
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |