|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ei.txnhandler.connector.jdbcconnector.JDBCConnectionManager
public class JDBCConnectionManager
This class is an implementation of the EConnectionManager interface.
Method Summary | |
---|---|
Object |
allocateConnection(EManagedConnectionFactory emanagedconnectionfactory,
String properties)
This method gets called by the host connector's connection factory instance. |
void |
connectionClosed(EConnectionEvent econnectionevent)
This method is called when an application closes it's connection handle. |
void |
connectionErrorOccurred(EConnectionEvent econnectionevent)
This method is called when connection error occurs. |
void |
freeConnection(EManagedConnection emanagedconnection)
This method is called to free a connection from the Connection Pool. |
static JDBCConnectionManager |
getInstance()
This method is used to get an instance of the JDBCConnection manager. |
JDBCConnectionPool |
getPool()
This method is used to obtain the Connection Pool object associated with this manager. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object allocateConnection(EManagedConnectionFactory emanagedconnectionfactory, String properties)
allocateConnection
in interface EConnectionManager
emanagedconnectionfactory
- the EManagedConnectionFactory used by the Connection Manager
to delegate connection matching or creation.properties
- Property values associated with the desired connection.
public void connectionClosed(EConnectionEvent econnectionevent)
connectionClosed
in interface EConnectionEventListener
econnectionevent
- The Connection Event associated with this connection closing.public void connectionErrorOccurred(EConnectionEvent econnectionevent)
connectionErrorOccurred
in interface EConnectionEventListener
econnectionevent
- EConnectionEvent The Connection Event associated with this connection error.public void freeConnection(EManagedConnection emanagedconnection)
emanagedconnection
- EManagedConnection The managed connection to be freed from the pool.public static JDBCConnectionManager getInstance()
public JDBCConnectionPool getPool()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |