com.bankframe.examples.txnhandler.connector.coboltest
Class CobolTestManagedConnection

java.lang.Object
  extended bycom.bankframe.examples.txnhandler.connector.coboltest.CobolTestManagedConnection
All Implemented Interfaces:
EManagedConnection

public class CobolTestManagedConnection
extends java.lang.Object
implements EManagedConnection

This class represents a managed TestCustomerConnection


Constructor Summary
CobolTestManagedConnection()
          Default Constructor
CobolTestManagedConnection(EManagedConnectionFactory mcf)
          Constructor
CobolTestManagedConnection(java.lang.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
 java.lang.Object getConnection()
          This method gets a connection instances Creation date: (6/1/2001 9:58:22 AM)
 java.lang.String getConnectorType()
          This method returns the connector type
 void removeConnectionEventListener(EConnectionEventListener listener)
          This method is called to remove a connection event listener
 void setConnectorType(java.lang.String type)
          Set the connector type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CobolTestManagedConnection

public CobolTestManagedConnection()
Default Constructor


CobolTestManagedConnection

public CobolTestManagedConnection(EManagedConnectionFactory mcf)
Constructor

Parameters:
mcf - Connection factory

CobolTestManagedConnection

public CobolTestManagedConnection(java.lang.String type)
Constructor

Parameters:
type - The type of connection
Method Detail

addConnectionEventListener

public void addConnectionEventListener(EConnectionEventListener listener)
This method is called to add a listener for connection events

Specified by:
addConnectionEventListener in interface EManagedConnection
Parameters:
listener - The event listener

cleanup

public void cleanup()
Clean up resources

Specified by:
cleanup in interface EManagedConnection

destroy

public void destroy()
Clean up resources

Specified by:
destroy in interface EManagedConnection

getConnection

public java.lang.Object getConnection()
This method gets a connection instances Creation date: (6/1/2001 9:58:22 AM)

Specified by:
getConnection in interface EManagedConnection
Returns:
java.lang.Object

getConnectorType

public java.lang.String getConnectorType()
This method returns the connector type


removeConnectionEventListener

public void removeConnectionEventListener(EConnectionEventListener listener)
This method is called to remove a connection event listener

Specified by:
removeConnectionEventListener in interface EManagedConnection
Parameters:
listener - The listener

setConnectorType

public void setConnectorType(java.lang.String type)
Set the connector type

Parameters:
type - The connector type


Copyright © 2004 Siebel Systems, Inc. All rights reserved.