|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.examples.txnhandler.connector.coboltest.CobolTestConnectionFactory
public class 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(String properties)
This method gets an TestCustomerConnection instance |
Reference |
getReference()
This method gets a JNDI naming reference |
void |
setReference(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(String properties)
getConnection
in interface EConnectionFactory
properties
- Configuration properties for the connection
public Reference getReference() throws NamingException
getReference
in interface EConnectionFactory
getReference
in interface Referenceable
NamingException
public void setReference(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 |