com.ibm.connector2.iseries.pgmcall
Class ISeriesPgmCallConnection

java.lang.Object
  |
  +--com.ibm.connector2.iseries.pgmcall.ISeriesPgmCallConnection
All Implemented Interfaces:
javax.resource.cci.Connection

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

iSeries Program Call Connector's implementation of javax.resource.cci.Connection


Method Summary
 void close()
          Initiates close of the connection handle at the application level.
 javax.resource.cci.Interaction createInteraction()
          createInteraction Creates an ISeriesPgmCallInteraction associated with this ISeriesPgmCallConnection.
 boolean getAutoCommit()
          getAutoCommit not supported by this resource adapter
 javax.resource.cci.LocalTransaction getLocalTransaction()
          getLocalTransaction not supported by this resource adapter
 javax.resource.cci.ConnectionMetaData getMetaData()
          getMetaData Gets the information on the ISeriesPgmCallConnection.
 javax.resource.cci.ResultSetInfo getResultSetInfo()
          getResultSetInfo not supported by this resource adapter
 void setAutoCommit(boolean autoCommit)
          setAutoCommit not supported by this resource adapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 -  

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
createInteraction Creates an ISeriesPgmCallInteraction associated with this ISeriesPgmCallConnection. An ISeriesPgmCallInteraction enables an application to execute iSeries host programs.
Specified by:
createInteraction in interface javax.resource.cci.Connection
Returns:
ISeriesPgmCallInteraction instance
Throws:
javax.resource.ResourceException - Failed to create an Interaction

getAutoCommit

public boolean getAutoCommit()
                      throws javax.resource.ResourceException
getAutoCommit not supported by this resource adapter
Returns:
boolean
Throws:
javax.resource.ResourceException -  

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
getLocalTransaction not supported by this resource adapter
Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Returns:
javax.resource.cci.LocalTransaction
Throws:
javax.resource.ResourceException -  

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
getMetaData Gets the information on the ISeriesPgmCallConnection.
Specified by:
getMetaData in interface javax.resource.cci.Connection
Returns:
ISeriesPgmCallConnectionMetaDataImpl
Throws:
javax.resource.ResourceException - Failed to get information about the ISeriesPgmCallConnection.

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
getResultSetInfo not supported by this resource adapter
Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Returns:
ResultSetInfo
Throws:
javax.resource.ResourceException -  

setAutoCommit

public void setAutoCommit(boolean autoCommit)
                   throws javax.resource.ResourceException
setAutoCommit not supported by this resource adapter
Throws:
javax.resource.ResourceException -