다음을 통해 공유


addConnectionEventListener 메서드(SQLServerPooledConnection)

JDBC 드라이버 다운로드

지정된 이벤트 수신기를 등록하여 이 SQLServerPooledConnection 개체에서 이벤트가 발생할 때 해당 수신기가 알림을 받도록 합니다.

구문

  
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)  

매개 변수

‘수신기’

ConnectionEventListener 개체입니다.

설명

이 addConnectionEventListener 메서드는 javax.sql.PooledConnection 인터페이스의 addConnectionEventListener 메서드에 의해 지정됩니다.

참고 항목

SQLServerPooledConnection 메서드
SQLServerPooledConnection 멤버
SQLServerPooledConnection 클래스