|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.ei.txnhandler.connector.offline.OffLineConnectionManager
public class OffLineConnectionManager
This class acts as a resource manager for the OffLine Connector. It provides connection pooling and management for an application that is using a group of OffLine Connectors. This implementation utilizes JDBC DataSource objects and should only be used when JDBC DataSource functionality is available within the application server that you are running in.
| Method Summary | |
|---|---|
Object |
allocateConnection(EManagedConnectionFactory mcf,
String properties)
This method gets called by the host connector's connection factory instance. |
void |
connectionClosed(EConnectionEvent event)
This method is called when an application closes it's connection handle. |
void |
connectionErrorOccurred(EConnectionEvent event)
This method is called when connection error occurs. |
void |
freeConnection(EManagedConnection con)
This method is called to free a connection from the Connection Pool. |
static OffLineConnectionManager |
getInstance()
This method is used to get an instance of the OffLineConnection manager. |
OffLineConnectionPool |
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 mcf,
String properties)
allocateConnection in interface EConnectionManagermcf - The ManagedConnectionFactory used by the Connection Manager to delegate
connection matching or creation.properties - Property values associated with the desired connection.
public void connectionClosed(EConnectionEvent event)
connectionClosed in interface EConnectionEventListenerevent - The Connection Event associated with this connection closing.public void connectionErrorOccurred(EConnectionEvent event)
connectionErrorOccurred in interface EConnectionEventListenerevent - The Connection Event associated with this connection error.public void freeConnection(EManagedConnection con)
con - The managed connection to be freed from the pool.public static OffLineConnectionManager getInstance()
public OffLineConnectionPool getPool()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||