Sun Adapter Common API
A C D G I L M O Q R S W

A

addSessionEventListener(SessionEventListener) - Method in interface com.stc.connector.db.Session
Adds sessoin event listener.
AgentFactory - Interface in com.stc.connector.db
Interface of AgentFactory.
ApplicationConnection - Interface in com.stc.connector.appconn.common
This interface represents an EIS connection handle for the Application Connection.
ApplicationConnectionException - Exception in com.stc.connector.appconn.common
Exception class for Applcation Connection.
ApplicationConnectionException() - Constructor for exception com.stc.connector.appconn.common.ApplicationConnectionException
Creates a new instance of ApplicationConnectionException without detail message.
ApplicationConnectionException(String) - Constructor for exception com.stc.connector.appconn.common.ApplicationConnectionException
Constructs an instance of ApplicationConnectionException with the specified detail message.
ApplicationConnectionException(String, Throwable) - Constructor for exception com.stc.connector.appconn.common.ApplicationConnectionException
Constructs an instance of ApplicationConnectionException with the specified detail message and a cause
ApplicationConnectionFactory - Interface in com.stc.connector.appconn.common
This interface represents an EIS specific connection factory for getting the Application Connection.
ApplicationException - Exception in com.stc.connector.appconn.common
Base Exception class for an Applcation.
ApplicationException() - Constructor for exception com.stc.connector.appconn.common.ApplicationException
Creates a new instance of ApplicationException without detail message.
ApplicationException(String) - Constructor for exception com.stc.connector.appconn.common.ApplicationException
Constructs an instance of ApplicationException with the specified detail message.
ApplicationException(String, Throwable) - Constructor for exception com.stc.connector.appconn.common.ApplicationException
Constructs an instance of ApplicationException with the specified detail message.

C

checkConnection(SQLException) - Method in interface com.stc.connector.db.Session
Connection status check if there is a SQL exception.
close() - Method in interface com.stc.connector.appconn.common.ApplicationConnection
Closes the application connection handle.
close() - Method in interface com.stc.connector.db.DbConnector
Requests the DbConnector to close a connection and release all the necessary resources.
close() - Method in interface com.stc.connector.db.Session
Closes the session.
com.stc.connector.appconn.common - package com.stc.connector.appconn.common
 
com.stc.connector.db - package com.stc.connector.db
 
commit() - Method in interface com.stc.connector.db.DbConnector
Commits a transaction for the connection.
commit() - Method in interface com.stc.connector.db.Session
Commits a transaction for the connection.
connect() - Method in interface com.stc.connector.db.Session
Connects to a database.
connInvoke(String, Class[], Object[]) - Method in interface com.stc.connector.db.DbConnector
Invokes a method of the database Connection object of this ETD.
connInvoke(String, Class[], Object[]) - Method in interface com.stc.connector.db.Session
Invokes a method of the database Connection object of this ETD.
createApplication(String) - Method in interface com.stc.connector.appconn.common.ApplicationConnection
Creates an Application from the Application Connection.
createOutputHandler() - Method in interface com.stc.connector.appconn.common.ApplicationConnection
Creates an OutputHandler for "sending" data to the EIS.

D

DbConnector - Interface in com.stc.connector.db
Connector interface for database e*Way.
DBMS_TYPE_UNKNOWN - Static variable in interface com.stc.connector.db.Session
Unknown DBMS Type: 0

G

getAutoCommit() - Method in interface com.stc.connector.db.DbConnector
Gets the AutoCommit mode of the connection.
getAutoCommit() - Method in interface com.stc.connector.db.Session
Returns the session auto commit property.
getCatalog() - Method in interface com.stc.connector.db.DbConnector
Gets the catalog name of the connection.
getCatalog() - Method in interface com.stc.connector.db.Session
Returns the session catalog property.
getConcurrencyType() - Method in interface com.stc.connector.db.Session
Get concurrency type.
getConnection() - Method in interface com.stc.connector.appconn.common.ApplicationConnectionFactory
Gets the Application Connection which represents a connection handle to the underlying EIS.
getConnection(Properties) - Method in interface com.stc.connector.appconn.common.ApplicationConnectionFactory
Gets the Application Connection which represents a connection handle to the underlying EIS using the connection information in the Properties.
getConnection() - Method in interface com.stc.connector.db.DbConnector
Get the database Connection object of this ETD.
getConnection() - Method in interface com.stc.connector.db.Session
Get the database Connection object of this ETD.
getConnection() - Method in interface com.stc.connector.db.SessionEvent
Gets the Connection related to the event.
getDBMS() - Method in interface com.stc.connector.db.Session
Retrieves the DBMS type.
getInstance(Class) - Method in interface com.stc.connector.db.AgentFactory
Gets a statement agent instance.
getInstance(Class, int, int) - Method in interface com.stc.connector.db.AgentFactory
Gets a StatementAgent instance with the specified resultset and concurrency types.
getInstance(Class) - Method in interface com.stc.connector.db.DbConnector
/** Gets an instance of the named StaementAgent.
getInstance(Class, int, int) - Method in interface com.stc.connector.db.DbConnector
Gets an instance of the named StaementAgent with the specified resultset and concurrency types.
getMetaData() - Method in interface com.stc.connector.db.Session
Returns the session database meta data.
getNewTypeFlag() - Method in interface com.stc.connector.db.Session
Check if it is a new ResultSet type.
getResultSet() - Method in interface com.stc.connector.db.StatementEvent
Gets the result set related to the event.
getResultSetType() - Method in interface com.stc.connector.db.Session
Get result set type.
getSQLException() - Method in interface com.stc.connector.db.SessionEvent
Gets SQLException related to the event.
getSQLException() - Method in interface com.stc.connector.db.StatementEvent
Gets the SQLException related to the event.
getSupportsBatch() - Method in interface com.stc.connector.db.Session
checks to see if the driver supports batch operations.
getTransactionIsolation() - Method in interface com.stc.connector.db.DbConnector
Gets the transaction isolation level for the connection.
getTransactionIsolation() - Method in interface com.stc.connector.db.Session
Returns the session transaction isolation level.
getTypeMap() - Method in interface com.stc.connector.db.Session
Returns the session type map for user-defined type.

I

init(DataSource, Properties) - Method in interface com.stc.connector.db.DbConnector
Initialize DbConnector
isClosed() - Method in interface com.stc.connector.db.Session
Returns the session open status.
isConnected() - Method in interface com.stc.connector.db.DbConnector
Returns the connection status.
isConnected() - Method in interface com.stc.connector.db.Session
Returns the connection status.
isOpen() - Method in interface com.stc.connector.db.DbConnector
Checks if the DbConnector has a open connection.
isReadOnly() - Method in interface com.stc.connector.db.Session
Returns the session read only status.

L

LogHelper - Interface in com.stc.connector.db
A helper interface to use Logger.
lookup(String) - Method in interface com.stc.connector.db.AgentFactory
Lookups a StatementAgent instance using its class name.

M

MSG_DBG_ADD_SESSION_LISTENER - Static variable in interface com.stc.connector.db.LogHelper
Adding a session event listener.
MSG_DBG_CHECK_CONN - Static variable in interface com.stc.connector.db.LogHelper
Checks connection status.
MSG_DBG_CLOSE_SESSION - Static variable in interface com.stc.connector.db.LogHelper
Closing the database session.
MSG_DBG_CLOSE_SESSION_DETECTED - Static variable in interface com.stc.connector.db.LogHelper
Session close detected.
MSG_DBG_CLOSE_SESSION_DONE - Static variable in interface com.stc.connector.db.LogHelper
Successfully close a session.
MSG_DBG_CONNECTION_RELEASED - Static variable in interface com.stc.connector.db.LogHelper
Successfully realease the connection.
MSG_DBG_DBMS_TYPE - Static variable in interface com.stc.connector.db.LogHelper
DBMS type.
MSG_DBG_INSTANCE_CREATED - Static variable in interface com.stc.connector.db.LogHelper
Created instance.
MSG_DBG_LOG_WRITER_CLOSED - Static variable in interface com.stc.connector.db.LogHelper
Successfully close the JDBC log writer.
MSG_DBG_NEW_RESULSET - Static variable in interface com.stc.connector.db.LogHelper
Reset session event detected.
MSG_DBG_OPEN_CONNECTOR_DONE - Static variable in interface com.stc.connector.db.LogHelper
Successfully open a connector.
MSG_DBG_OPEN_SESSION - Static variable in interface com.stc.connector.db.LogHelper
Opening a database session.
MSG_DBG_OPEN_SESSION_DETECTED - Static variable in interface com.stc.connector.db.LogHelper
Open session is detected.
MSG_DBG_OPEN_SESSION_DONE - Static variable in interface com.stc.connector.db.LogHelper
Successfully open a session.
MSG_DBG_RELEASE_STMT_RESOURCE - Static variable in interface com.stc.connector.db.LogHelper
Releases statement resources.
MSG_DBG_REMOVE_SESSION_LISTENER - Static variable in interface com.stc.connector.db.LogHelper
Removing a session event listener.
MSG_DBG_RESET_SESSION_DETECTED - Static variable in interface com.stc.connector.db.LogHelper
Reset session event detected.
MSG_ERR_CREATE_FAILED - Static variable in interface com.stc.connector.db.LogHelper
Fails to instantiate.
MSG_ERR_IGNORE_EXCEPTION - Static variable in interface com.stc.connector.db.LogHelper
Ignores caught exception.
MSG_ERR_INIT_FAILED - Static variable in interface com.stc.connector.db.LogHelper
Initialization failed.
MSG_ERR_NO_RESULTSET - Static variable in interface com.stc.connector.db.LogHelper
No result set available.
MSG_ERR_NO_RESULTSET_QUERY - Static variable in interface com.stc.connector.db.LogHelper
Query returns empty result set.
MSG_ERR_NO_STATEMENT_OBJECT - Static variable in interface com.stc.connector.db.LogHelper
Statement object not initialized.
MSG_ERR_NULL_PREP_STMT - Static variable in interface com.stc.connector.db.LogHelper
Null Prepared SQL statement.
MSG_ERR_NULL_SQL_STMT - Static variable in interface com.stc.connector.db.LogHelper
Null SQL statement.
MSG_ERR_NULL_UPDATE_STMT - Static variable in interface com.stc.connector.db.LogHelper
Null Update statement.
MSG_ERR_OPEN_SESSION_FAILED - Static variable in interface com.stc.connector.db.LogHelper
Fail to open a session.
MSG_ERR_SESSION_NOT_OPEN - Static variable in interface com.stc.connector.db.LogHelper
Session is not opened.
MSG_ERR_STMT_AGENT_NOT_EXIST - Static variable in interface com.stc.connector.db.LogHelper
Statement agent does not exist.
MSG_ERR_UNHANDLED_JDBC_ERR - Static variable in interface com.stc.connector.db.LogHelper
Unhandled JDBC driver error.

O

open(DataSource, Properties) - Method in interface com.stc.connector.db.DbConnector
Requests the DbConnector object to open a connection and allocate necessary resources.
open() - Method in interface com.stc.connector.db.Session
Opens the session.
OutputHandler - Interface in com.stc.connector.appconn.common
This interface allows the collaboration framework to "send" data to an external system.

Q

queryName() - Method in interface com.stc.connector.db.SessionEventListener
Retrieves the name of the listener.

R

release() - Method in interface com.stc.connector.db.AgentFactory
Releases agent factory resources.
release() - Method in interface com.stc.connector.db.DbConnector
Releases all the DbConnector resources.
releaseResources() - Method in interface com.stc.connector.db.Session
Releases connection resources.
removeSessionEventListener(SessionEventListener) - Method in interface com.stc.connector.db.Session
Removes sessoin event listener.
requestReset() - Method in interface com.stc.connector.db.DbConnector
Receives a request to reset the data content of the DB ETD.
requestReset() - Method in interface com.stc.connector.db.Session
Request that a reset be done on the data content of the DB ETD.
resultSetOpen(StatementEvent) - Method in interface com.stc.connector.db.StatementEventListener
New result set open event.
resultSetToBeOpened() - Method in interface com.stc.connector.db.StatementEventListener
New result set to be opened event.
rollback() - Method in interface com.stc.connector.db.DbConnector
Rollbacks a transaction for the connection.
rollback() - Method in interface com.stc.connector.db.Session
Rollbacks a transaction for the connection.

S

Session - Interface in com.stc.connector.db
Session hosts a Connection interface.
sessionClose(SessionEvent) - Method in interface com.stc.connector.db.SessionEventListener
Processes a Session closed event.
SessionEvent - Interface in com.stc.connector.db
 
SessionEventListener - Interface in com.stc.connector.db
Session event listener interface.
sessionOpen(SessionEvent) - Method in interface com.stc.connector.db.SessionEventListener
Processes a Session open event.
sessionReset(SessionEvent) - Method in interface com.stc.connector.db.SessionEventListener
Processes a Session reset event.
setAutoCommit(boolean) - Method in interface com.stc.connector.db.DbConnector
Sets the AutoCommit mode of the connection.
setAutoCommit(boolean) - Method in interface com.stc.connector.db.Session
Sets the session auto commit property.
setCatalog(String) - Method in interface com.stc.connector.db.DbConnector
Sets the catalog name of the connection.
setCatalog(String) - Method in interface com.stc.connector.db.Session
Sets the session catalog property.
setConcurrencyToReadOnly() - Method in interface com.stc.connector.db.DbConnector
Set concurrency type of the session to read only.
setConcurrencyToUpdatable() - Method in interface com.stc.connector.db.DbConnector
Set concurrency type of the session to updatable.
setConcurrencyType(int) - Method in interface com.stc.connector.db.Session
Set the concurrency type of the connection.
setDBMS(int) - Method in interface com.stc.connector.db.Session
Sets the DBMS type.
setNewTypeFlag(boolean) - Method in interface com.stc.connector.db.Session
Set whether this is a new ResultSet type.
setReadOnly(boolean) - Method in interface com.stc.connector.db.Session
Sets the session read only property.
setResultSetType(int) - Method in interface com.stc.connector.db.Session
Set the resultset type of the connection.
setScrollTypeToForwardOnly() - Method in interface com.stc.connector.db.DbConnector
Set result set type of the session to be forward only.
setScrollTypeToScrollInsensitive() - Method in interface com.stc.connector.db.DbConnector
Set result set type of the session to be insensitive.
setScrollTypeToScrollSensitive() - Method in interface com.stc.connector.db.DbConnector
Set result set type of the session to be sensitive.
setTransactionIsolation(int) - Method in interface com.stc.connector.db.DbConnector
Sets the transaction isolation level for the connection.
setTransactionIsolation(int) - Method in interface com.stc.connector.db.Session
Sets the session transaction isolation level.
setTypeMap(Map) - Method in interface com.stc.connector.db.Session
Sets the session type map for user-defined type.
statementClose(StatementEvent) - Method in interface com.stc.connector.db.StatementEventListener
Statement closed event.
StatementEvent - Interface in com.stc.connector.db
 
StatementEventListener - Interface in com.stc.connector.db
Statement event listener interface.
statementReset(StatementEvent) - Method in interface com.stc.connector.db.StatementEventListener
Statement reset event.

W

write(byte[]) - Method in interface com.stc.connector.appconn.common.OutputHandler
Write the byte array contents to the external system.
write(OutputStream) - Method in interface com.stc.connector.appconn.common.OutputHandler
Write the contents avaiable in the provided OutputStream to the external system.

A C D G I L M O Q R S W
Sun Adapter Common API