|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.util.EventObject
javax.sql.StatementEvent
public class StatementEvent
PooledConnection
에 등록된 모든 StatementEventListener
에,StatementEvent
가 송신됩니다. 이 처리는, 드라이버가,PooledConnection
에 관련지을 수 있었던 PreparedStatement
가 닫았는지, 무효이다고 판단했을 경우에 행해집니다.
필드의 개요 |
---|
클래스 java.util. EventObject 로부터 상속된 필드 |
---|
source |
생성자 의 개요 | |
---|---|
StatementEvent (PooledConnection con,
PreparedStatement statement)
지정된 PooledConnection 와 PreparedStatement 를 가지는 StatementEvent 를 구축합니다. |
|
StatementEvent (PooledConnection con,
PreparedStatement statement,
SQLException exception)
지정된 PooledConnection ,PreparedStatement , 및 SQLException 를 가지는 StatementEvent 를 구축합니다. |
메소드의 개요 | |
---|---|
SQLException |
getSQLException ()
드라이버가 throw 하려고 하고 있는 SQLException 를 돌려줍니다. |
PreparedStatement |
getStatement ()
닫혀진, 또는 무효인 PreparedStatement 를 돌려줍니다. |
클래스 java.util. EventObject 로부터 상속된 메소드 |
---|
getSource , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public StatementEvent(PooledConnection con, PreparedStatement statement)
PooledConnection
와 PreparedStatement
를 가지는 StatementEvent
를 구축합니다. 이 이벤트에 포함되는 SQLException
는, 디폴트로 null 가 됩니다.
con
- 닫혀진, 또는 무효인 PreparedStatement
를 관련지을 수 있고 있는 PooledConnection
statement
- 닫혀진, 또는 무효인 PreparedStatement
IllegalArgumentException
- con
가 null 의 경우public StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)
PooledConnection
,PreparedStatement
, 및 SQLException
를 가지는 StatementEvent
를 구축합니다.
con
- 닫혀진, 또는 무효인 PreparedStatement
를 관련지을 수 있고 있는 PooledConnection
statement
- 닫혀진, 또는 무효인 PreparedStatement
exception
- 드라이버가 어플리케이션에 throw 하려고 하고 있는 SQLException
IllegalArgumentException
- con
가 null 의 경우
메소드의 상세 |
---|
public PreparedStatement getStatement()
PreparedStatement
를 돌려줍니다.
PreparedStatement
public SQLException getSQLException()
SQLException
를 돌려줍니다.
SQLException
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.