com.bankframe.examples.txnhandler.connector.testcustomer
Class TestCustomerManagedConnection

java.lang.Object
  extended bycom.bankframe.examples.txnhandler.connector.testcustomer.TestCustomerManagedConnection
All Implemented Interfaces:
EManagedConnection

public class TestCustomerManagedConnection
extends java.lang.Object
implements EManagedConnection

This class represents a managed TestCustomerConnection


Constructor Summary
TestCustomerManagedConnection()
          Default Constructor
TestCustomerManagedConnection(EManagedConnectionFactory mcf)
          Constructor
TestCustomerManagedConnection(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

TestCustomerManagedConnection

public TestCustomerManagedConnection()
Default Constructor


TestCustomerManagedConnection

public TestCustomerManagedConnection(EManagedConnectionFactory mcf)
Constructor

Parameters:
mcf - Connection factory

TestCustomerManagedConnection

public TestCustomerManagedConnection(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.