IBM Bank Transformation Toolkit Javadoc

com.ibm.connector2.sna.lu62
Class Lu62Connection

java.lang.Object
  extended by com.ibm.connector2.sna.lu62.Lu62Connection
All Implemented Interfaces:
javax.resource.cci.Connection

public class Lu62Connection
extends java.lang.Object
implements javax.resource.cci.Connection

Application level handle to the Managed Connection Subject to change once J2EE/CA specification includes Common Client Interfaces


Constructor Summary
Lu62Connection(javax.resource.spi.ManagedConnection managedConnection)
          Lu62Connection constructor
 
Method Summary
(package private)  boolean call(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record input, javax.resource.cci.Record output)
          Executes EIS interaction
 void close()
          Initiates close of the connection handle at the application level
 javax.resource.cci.Interaction createInteraction()
          Creates an Interaction associated with this Connection
 java.lang.String getClassID()
           
 javax.resource.cci.LocalTransaction getLocalTransaction()
          Returns an LocalTransaction instance that enables a component to demarcate resource manager local transactions on the Connection
(package private)  java.io.PrintWriter getLogWriter()
          Returns LogWriter
(package private)  Lu62ManagedConnection getManagedConnection()
          Returns an instance of Lu62ManagedConnection object
 javax.resource.cci.ConnectionMetaData getMetaData()
          Returns the information on the underlying EIS instance represented through an active connection
 javax.resource.cci.ResultSetInfo getResultSetInfo()
          Returns the information on the ResultSet functionality supported by a connected EIS instance
(package private)  void interactionClosed(Lu62Interaction lu62Interaction)
          Removes the Lu62Interaction instance from the list of interactions assocaited with this connection
(package private)  boolean isClosed()
          Returns the closed indicator
(package private)  void setLogWriter(java.io.PrintWriter out)
          Sets LogWriter
(package private)  void setManagedConnection(Lu62ManagedConnection managedConnection)
          Sets Lu62ManagedConnection Associate this Connection with the different ManagedConnection to support implementation of the ManagedConnection.associateConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lu62Connection

public Lu62Connection(javax.resource.spi.ManagedConnection managedConnection)
               throws javax.resource.ResourceException
Lu62Connection constructor

Parameters:
managedConnection - javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
Method Detail

call

boolean call(javax.resource.cci.InteractionSpec interactionSpec,
             javax.resource.cci.Record input,
             javax.resource.cci.Record output)
       throws javax.resource.ResourceException
Executes EIS interaction

Parameters:
interactionSpec - javax.resource.cci.InteractionSpec
input - javax.resource.cci.Record
output - javax.resource.cci.Record
Returns:
Returns a boolean
Throws:
javax.resource.ResourceException

close

public void close()
           throws javax.resource.ResourceException
Initiates close of the connection handle at the application level

Specified by:
close in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

interactionClosed

void interactionClosed(Lu62Interaction lu62Interaction)
Removes the Lu62Interaction instance from the list of interactions assocaited with this connection

Parameters:
lu62Interaction - com.ibm.connector2.sna.lu62.Lu62Interaction

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
Creates an Interaction associated with this Connection

Specified by:
createInteraction in interface javax.resource.cci.Connection
Returns:
javax.resource.cci.Interaction
Throws:
javax.resource.ResourceException

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Returns an LocalTransaction instance that enables a component to demarcate resource manager local transactions on the Connection

Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Throws:
javax.resource.NotSupportedException
javax.resource.ResourceException

getManagedConnection

Lu62ManagedConnection getManagedConnection()
Returns an instance of Lu62ManagedConnection object

Returns:
com.ibm.connector2.sna.lu62.Lu62ManagedConnection

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
Returns the information on the underlying EIS instance represented through an active connection

Specified by:
getMetaData in interface javax.resource.cci.Connection
Returns:
javax.resource.cci.ConnectionMetaData
Throws:
javax.resource.ResourceException

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Returns the information on the ResultSet functionality supported by a connected EIS instance

Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Throws:
javax.resource.NotSupportedException
javax.resource.ResourceException

setLogWriter

void setLogWriter(java.io.PrintWriter out)
Sets LogWriter

Parameters:
out - java.io.PrintWriter

getLogWriter

java.io.PrintWriter getLogWriter()
Returns LogWriter

Returns:
java.io.PrintWriter

setManagedConnection

void setManagedConnection(Lu62ManagedConnection managedConnection)
Sets Lu62ManagedConnection Associate this Connection with the different ManagedConnection to support implementation of the ManagedConnection.associateConnection

Parameters:
managedConnection - com.ibm.connector2.sna.lu62.Lu62ManagedConnection

isClosed

boolean isClosed()
Returns the closed indicator

Returns:
a boolean

getClassID

public java.lang.String getClassID()

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008