|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.examples.txnhandler.connector.coboltest.CobolTestManagedConnection
public class CobolTestManagedConnection
This class represents a managed TestCustomerConnection
Constructor Summary | |
---|---|
CobolTestManagedConnection()
Default Constructor |
|
CobolTestManagedConnection(EManagedConnectionFactory mcf)
Constructor |
|
CobolTestManagedConnection(String type)
Constructor |
Method Summary | |
---|---|
void |
addConnectionEventListener(EConnectionEventListener listener)
This method is called to add a listener for connection events |
void |
cleanup()
Clean up resources |
void |
destroy()
Clean up resources |
Object |
getConnection()
This method gets a connection instances Creation date: (6/1/2001 9:58:22 AM) |
String |
getConnectorType()
This method returns the connector type |
void |
removeConnectionEventListener(EConnectionEventListener listener)
This method is called to remove a connection event listener |
void |
setConnectorType(String type)
Set the connector type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CobolTestManagedConnection()
public CobolTestManagedConnection(EManagedConnectionFactory mcf)
mcf
- Connection factorypublic CobolTestManagedConnection(String type)
type
- The type of connectionMethod Detail |
---|
public void addConnectionEventListener(EConnectionEventListener listener)
addConnectionEventListener
in interface EManagedConnection
listener
- The event listenerpublic void cleanup()
cleanup
in interface EManagedConnection
public void destroy()
destroy
in interface EManagedConnection
public Object getConnection()
getConnection
in interface EManagedConnection
public String getConnectorType()
public void removeConnectionEventListener(EConnectionEventListener listener)
removeConnectionEventListener
in interface EManagedConnection
listener
- The listenerpublic void setConnectorType(String type)
type
- The connector type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |