|
|||||||||||
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.CobolTestConnectionFactory
This class creates TestCustomerConnection instances
Constructor Summary | |
CobolTestConnectionFactory()
Default constructor |
|
CobolTestConnectionFactory(CobolTestManagedConnectionFactory mcf)
Constructor |
|
CobolTestConnectionFactory(CobolTestManagedConnectionFactory tcmcf,
EConnectionManager ecm)
Constructor |
Method Summary | |
EConnection |
getConnection()
This method gets an TestCustomerConnection instance |
EConnection |
getConnection(java.lang.String properties)
This method gets an TestCustomerConnection instance |
javax.naming.Reference |
getReference()
This method gets a JNDI naming reference |
void |
setReference(javax.naming.Reference ref)
This method sets the JNDI naming reference |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CobolTestConnectionFactory()
public CobolTestConnectionFactory(CobolTestManagedConnectionFactory mcf)
mcf
- Managed connection factory referencepublic CobolTestConnectionFactory(CobolTestManagedConnectionFactory tcmcf, EConnectionManager ecm)
tcmcf
- Managed connection factory instanceecm
- Connection managerMethod Detail |
public EConnection getConnection()
getConnection
in interface EConnectionFactory
public EConnection getConnection(java.lang.String properties)
getConnection
in interface EConnectionFactory
properties
- Configuration properties for the connection
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface EConnectionFactory
javax.naming.NamingException
public void setReference(javax.naming.Reference ref)
setReference
in interface EConnectionFactory
ref
- JNDI naming reference
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |