|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.bankframe.examples.txnhandler.connector.coboltest.CobolTestConnectionManager
This class manages TestCustomerConnection instances
| Method Summary | |
java.lang.Object |
allocateConnection(EManagedConnectionFactory mcf,
java.lang.String properties)
This method gets a TestCustomerConnection instance |
void |
connectionClosed(EConnectionEvent event)
This method is called when a connection is closed |
void |
connectionErrorOccurred(EConnectionEvent event)
This method is called when a connection error occurs |
void |
freeConnection(EManagedConnection con)
This method releases a connection back into the pool |
static CobolTestConnectionManager |
getInstance()
This method gets a singleton instance of the TestCustomerConnectionManager |
CobolTestConnectionPool |
getPool()
This method gets the connection pool |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.Object allocateConnection(EManagedConnectionFactory mcf,
java.lang.String properties)
allocateConnection in interface EConnectionManagermcf - Managed connection factoryproperties - configuration properteis
public void connectionClosed(EConnectionEvent event)
connectionClosed in interface EConnectionEventListenerevent - The close eventpublic void connectionErrorOccurred(EConnectionEvent event)
connectionErrorOccurred in interface EConnectionEventListenerevent - The connection error eventpublic void freeConnection(EManagedConnection con)
public static CobolTestConnectionManager getInstance()
public CobolTestConnectionPool getPool()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||