|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.examples.txnhandler.connector.testcustomer.TestCustomerConnectionManager
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 TestCustomerConnectionManager |
getInstance()
This method gets a singleton instance of the TestCustomerConnectionManager |
TestCustomerConnectionPool |
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 EConnectionManager
mcf
- Managed connection factoryproperties
- configuration properteis
public void connectionClosed(EConnectionEvent event)
connectionClosed
in interface EConnectionEventListener
event
- The close eventpublic void connectionErrorOccurred(EConnectionEvent event)
connectionErrorOccurred
in interface EConnectionEventListener
event
- The connection error eventpublic void freeConnection(EManagedConnection con)
public static TestCustomerConnectionManager getInstance()
public TestCustomerConnectionPool getPool()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |