com.stc.connector.oracleadapter.base
Class SessionEventImpl
java.lang.Object
   java.util.EventObject
java.util.EventObject
       com.stc.connector.oracleadapter.base.SessionEventImpl
com.stc.connector.oracleadapter.base.SessionEventImpl
- All Implemented Interfaces: 
- com.stc.connector.db.SessionEvent, java.io.Serializable
- public class SessionEventImpl 
- extends java.util.EventObject- implements com.stc.connector.db.SessionEvent
- Version:
- $Revision: 1.1 $
- Author:
- $Author: npiega $
- See Also:
- Serialized Form
| Constructor Summary | 
| SessionEventImpl(com.stc.connector.db.Session session)SessionEventImpl constructor
 | 
| SessionEventImpl(com.stc.connector.db.Session session,
                 java.sql.SQLException ex)SessionEventImpl constructor.
 | 
 
| Method Summary | 
|  java.sql.Connection | getConnection()Gets the Connection related to the event.
 | 
|  java.sql.SQLException | getSQLException()Gets SQLException related to the event.
 | 
 
| Methods inherited from class java.util.EventObject | 
| getSource, toString | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
SessionEventImpl
public SessionEventImpl(com.stc.connector.db.Session session)
- SessionEventImpl constructor
 
- Parameters:
- session- the Session instance that triggers the event.
 
SessionEventImpl
public SessionEventImpl(com.stc.connector.db.Session session,
                        java.sql.SQLException ex)
- SessionEventImpl constructor.
 
- Parameters:
- session- the Session instance that triggers the event.
- ex- a SQLException instance.
 
getSQLException
public java.sql.SQLException getSQLException()
- Gets SQLException related to the event.
 
- 
- Specified by:
- getSQLExceptionin interface- com.stc.connector.db.SessionEvent
 
- 
- Returns:
- a SQLException instance.
 
getConnection
public java.sql.Connection getConnection()
- Gets the Connection related to the event.
 
- 
- Specified by:
- getConnectionin interface- com.stc.connector.db.SessionEvent
 
- 
- Returns:
- a database Connection instance.
 
Copyright © 2008 Sun Microsystems, Inc.