|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.util.EventObject
javax.sql.ConnectionEvent
public class ConnectionEvent
Á¢¼Ó °ü·ÃÀÇ À̺¥Æ®ÀÇ ¼Ò½º¿¡ °üÇÑ Á¤º¸¸¦ Á¦°øÇÏ´Â Event
°´Ã¼ÀÔ´Ï´Ù. ConnectionEvent
°´Ã¼´Â
¾îÇø®ÄÉÀ̼ÇÀÌ Ç® µÈ Á¢¼ÓÀ» ´Ý¾ÒÀ» ¶§³ª ¿¡·¯°¡ ¹ß»ýÇßÀ» ¶§¿¡ »ý¼ºµË´Ï´Ù. ConnectionEvent
°´Ã¼¿¡´Â ´ÙÀ½ÀÇ 2 Á¾·ùÀÇ Á¤º¸°¡ Æ÷ÇԵ˴ϴÙ.
SQLException
ÇÊµå °³¿ä |
---|
Ŭ·¡½º java.util. EventObject ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
source |
»ý¼ºÀÚ °³¿ä | |
---|---|
ConnectionEvent (PooledConnection con)
ÁöÁ¤ÇÑ PooledConnection °´Ã¼¿¡ ÀÇÇØ ÃʱâÈµÈ ConnectionEvent °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
ConnectionEvent (PooledConnection con,
SQLException ex)
ÁöÁ¤ÇÑ PooledConnection °´Ã¼¿Í SQLException °´Ã¼¿¡ ÀÇÇØ ÃʱâÈµÈ ConnectionEvent °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
SQLException |
getSQLException ()
ÀÌ ConnectionEvent °´Ã¼¿¡ ´ëÇÑ SQLException À»
ÃëµæÇÕ´Ï´Ù. |
Ŭ·¡½º java.util. EventObject ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getSource,
toString |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public ConnectionEvent(PooledConnection con)
ÁöÁ¤ÇÑ PooledConnection
°´Ã¼¿¡ ÀÇÇØ ÃʱâÈµÈ ConnectionEvent
°´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. SQLException
µðÆúÆ®´Â null
ÀÔ´Ï´Ù.
con
- À̺¥Æ®ÀÇ ¼Ò½ºÀÎ Ç® µÈ Á¢¼Ópublic ConnectionEvent(PooledConnection con, SQLException ex)
ÁöÁ¤ÇÑ PooledConnection
°´Ã¼¿Í SQLException
°´Ã¼¿¡ ÀÇÇØ ÃʱâÈµÈ ConnectionEvent
°´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
con
- À̺¥Æ®ÀÇ ¼Ò½ºÀÎ Ç® µÈ Á¢¼Óex
- ¾îÇø®ÄÉÀ̼ǿ¡ Throw µÉ ¿¹Á¤ÀÇ SQLException¸Þ¼µåÀÇ »ó¼¼ |
---|
public SQLException getSQLException()
ÀÌ ConnectionEvent
°´Ã¼¿¡ ´ëÇÑ SQLException
À»
ÃëµæÇÕ´Ï´Ù. null
ÀÌ µÉ ¼öµµ ÀÖ½À´Ï´Ù.
null
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.