|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
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
- 이벤트의 생성원인 PooledConnection 객체
IllegalArgumentException
- con
가 null 의 경우public ConnectionEvent(PooledConnection con, SQLException ex)
지정한 PooledConnection
객체와 SQLException
객체에 의해 초기화된 ConnectionEvent
객체를 구축합니다.
con
- 이벤트의 생성원인 PooledConnection 객체ex
- 어플리케이션에 throw 되는 SQLException 객체
IllegalArgumentException
- con
가 null 의 경우메소드의 상세 |
---|
public SQLException getSQLException()
이 ConnectionEvent
객체에 대한 SQLException
를 가져옵니다. null
의 경우가 있다
null
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.