|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bankframe.ei.txnhandler.connector.jdbcconnector.JDBCManagedConnection
This class represents a physical connection to JDBC.
Field Summary | |
java.lang.String |
mode
|
Constructor Summary | |
JDBCManagedConnection()
Default MQManagedConnection constructor. |
|
JDBCManagedConnection(EManagedConnectionFactory emanagedconnectionfactory,
java.sql.Connection connection)
JDBCManagedConnection constructor with EManagedConnectionFactory argument. |
|
JDBCManagedConnection(java.lang.String type)
JDBCManagedConnection constructor with String argument |
Method Summary | |
void |
addConnectionEventListener(EConnectionEventListener econnectioneventlistener)
This method adds an event listener to this managed connection's list of listeners. |
boolean |
checkIfDestroyed()
This method checks to see if the connection is destroyed. |
void |
cleanup()
This method will close any live connections still associated with the managed connection. |
void |
destroy()
This method will close any live connections still associated with the managed connection. |
java.lang.Object |
getConnection()
This method creates a new connection handle for the underlying physical connection represented by the EManagedConnection instance. |
java.lang.String |
getConnectorType()
This method will return the type of connection |
java.lang.Object |
getPhysicalConnection()
|
void |
removeConnectionEventListener(EConnectionEventListener econnectioneventlistener)
This connection removes a specified event listener from it's list. |
void |
setConnectorType(java.lang.String type)
This method sets the connection type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String mode
Constructor Detail |
public JDBCManagedConnection()
public JDBCManagedConnection(EManagedConnectionFactory emanagedconnectionfactory, java.sql.Connection connection)
emanagedconnectionfactory
- The EManagedConnectionFactory instance associated with this connection.connection
- the connection.public JDBCManagedConnection(java.lang.String type)
type
- the type of connectionMethod Detail |
public void addConnectionEventListener(EConnectionEventListener econnectioneventlistener)
addConnectionEventListener
in interface EManagedConnection
econnectioneventlistener
- The listener to be added to this list.public boolean checkIfDestroyed()
public void cleanup()
cleanup
in interface EManagedConnection
public void destroy()
destroy
in interface EManagedConnection
public java.lang.Object getConnection()
getConnection
in interface EManagedConnection
public java.lang.String getConnectorType()
public java.lang.Object getPhysicalConnection()
public void removeConnectionEventListener(EConnectionEventListener econnectioneventlistener)
removeConnectionEventListener
in interface EManagedConnection
econnectioneventlistener
- The listener to remove from the list.public void setConnectorType(java.lang.String type)
type
- the connection type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |