IBM Branch Transformation Toolkit Javadoc

com.ibm.connector2.sna.lu62
Class Lu62Connection

java.lang.Object
  extended bycom.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 * * @copyright(c) Copyright IBM Corporation 2004.


Constructor Summary
Lu62Connection(javax.resource.spi.ManagedConnection managedConnection)
          Lu62Connection constructor * @param managedConnection javax.resource.spi.ManagedConnection
 
Method Summary
(package private)  boolean call(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record input, javax.resource.cci.Record output)
          Executes EIS interaction * @param interactionSpec javax.resource.cci.InteractionSpec * @param input javax.resource.cci.Record * @param output javax.resource.cci.Record * @return Returns a boolean
 void close()
          Initiates close of the connection handle at the application level
 javax.resource.cci.Interaction createInteraction()
          Creates an Interaction associated with this Connection * @return javax.resource.cci.Interaction
 javax.resource.cci.LocalTransaction getLocalTransaction()
          Returns an LocalTransaction instance that enables a component * to demarcate resource manager local transactions on the Connection * * @throws javax.resource.NotSupportedException
(package private)  java.io.PrintWriter getLogWriter()
          Returns LogWriter * @return java.io.PrintWriter
(package private)  Lu62ManagedConnection getManagedConnection()
          Returns an instance of Lu62ManagedConnection object * @return com.ibm.connector2.sna.lu62.Lu62ManagedConnection
 javax.resource.cci.ConnectionMetaData getMetaData()
          Returns the information on the underlying EIS instance represented through an active connection * @return javax.resource.cci.ConnectionMetaData
 javax.resource.cci.ResultSetInfo getResultSetInfo()
          Returns the information on the ResultSet functionality supported by a connected EIS instance * @throws javax.resource.NotSupportedException
(package private)  void interactionClosed(Lu62Interaction lu62Interaction)
          Removes the Lu62Interaction instance from the list of interactions assocaited with this connection * @param lu62Interaction com.ibm.connector2.sna.lu62.Lu62Interaction
(package private)  boolean isClosed()
          Returns the closed indicator * @return a boolean
(package private)  void setLogWriter(java.io.PrintWriter out)
          Sets LogWriter * @param out java.io.PrintWriter
(package private)  void setManagedConnection(Lu62ManagedConnection managedConnection)
          Sets Lu62ManagedConnection * Associate this Connection with the different ManagedConnection * to support implementation of the ManagedConnection.associateConnection * @param managedConnection com.ibm.connector2.sna.lu62.Lu62ManagedConnection
 
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 * @param managedConnection javax.resource.spi.ManagedConnection

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 * @param interactionSpec javax.resource.cci.InteractionSpec * @param input javax.resource.cci.Record * @param output javax.resource.cci.Record * @return 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 * @param 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 * @return javax.resource.cci.Interaction

Specified by:
createInteraction in interface javax.resource.cci.Connection
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 * * @throws javax.resource.NotSupportedException

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

getManagedConnection

Lu62ManagedConnection getManagedConnection()
Returns an instance of Lu62ManagedConnection object * @return 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 * @return javax.resource.cci.ConnectionMetaData

Specified by:
getMetaData in interface javax.resource.cci.Connection
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 * @throws javax.resource.NotSupportedException

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

setLogWriter

void setLogWriter(java.io.PrintWriter out)
Sets LogWriter * @param out java.io.PrintWriter


getLogWriter

java.io.PrintWriter getLogWriter()
Returns LogWriter * @return java.io.PrintWriter


setManagedConnection

void setManagedConnection(Lu62ManagedConnection managedConnection)
Sets Lu62ManagedConnection * Associate this Connection with the different ManagedConnection * to support implementation of the ManagedConnection.associateConnection * @param managedConnection com.ibm.connector2.sna.lu62.Lu62ManagedConnection


isClosed

boolean isClosed()
Returns the closed indicator * @return a boolean


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005