|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.J2HODConnection
This is an application level handle to the Managed Connection. Subject to change once J2EE/CA specification includes Common Client Interfaces
Constructor Summary | |
---|---|
J2HODConnection(javax.resource.spi.ManagedConnection managedConnection)
Creates an instance of J2HODConnection and sets a set physical connection to a managed connection instance. |
Method Summary | |
---|---|
void |
close()
Closes connection from the host. |
javax.resource.cci.Interaction |
createInteraction()
Create an interaction assoicated with this Connection. |
boolean |
execute(javax.resource.cci.InteractionSpec interactionSpec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
Executes according to interactionSpec and input record. |
boolean |
getAutoCommit()
This method is not supported. |
com.ibm.eNetwork.beans.HOD.Session |
getDisplaySession()
Returns a Display Session bean from the managed connection |
javax.resource.cci.LocalTransaction |
getLocalTransaction()
This method is not supported. |
javax.resource.cci.ConnectionMetaData |
getMetaData()
Gets the information on the underlying EIS instance represented through an active connection. |
javax.resource.cci.ResultSetInfo |
getResultSetInfo()
This method is not supported. |
void |
setAutoCommit(boolean aAutoCommit)
This method is not supported. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public J2HODConnection(javax.resource.spi.ManagedConnection managedConnection)
managedConnection
- javax.resource.ManagedConnection - a ManagedConnectionMethod Detail |
public boolean execute(javax.resource.cci.InteractionSpec interactionSpec, javax.resource.cci.Record input, javax.resource.cci.Record output) throws javax.resource.ResourceException
interactionSpec
- javax.resource.cci.InteractionSpecinput
- javax.resource.cci.Record - screen information sent to the hostoutput
- javax.resource.cci.Record - screen information received from the host after the completion of this methodjavax.resource.ResourceException
- - Failed to get the information for the EIS instancepublic void close() throws javax.resource.ResourceException
close
in interface javax.resource.cci.Connection
javax.resource.ResourceException
- - Failed to get the information for the EIS instancepublic javax.resource.cci.Interaction createInteraction() throws javax.resource.ResourceException
createInteraction
in interface javax.resource.cci.Connection
javax.resource.ResourceException
- - Fails to create Interactionpublic boolean getAutoCommit() throws javax.resource.ResourceException
getAutoCommit
in interface javax.resource.cci.Connection
javax.resource.NotSupportedException
- - Method not supportedsetAutoCommit(boolean)
public javax.resource.cci.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
getLocalTransaction
in interface javax.resource.cci.Connection
javax.resource.NotSupportedException
- - Method not supportedpublic javax.resource.cci.ConnectionMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.Connection
javax.resource.ResourceException
- - Failed to get information about the EIS instancepublic javax.resource.cci.ResultSetInfo getResultSetInfo() throws javax.resource.ResourceException
getResultSetInfo
in interface javax.resource.cci.Connection
javax.resource.NotSupportedException
- - Method not supportedpublic void setAutoCommit(boolean aAutoCommit) throws javax.resource.ResourceException
setAutoCommit
in interface javax.resource.cci.Connection
javax.resource.NotSupportedException
- - Method not supportedgetAutoCommit()
public com.ibm.eNetwork.beans.HOD.Session getDisplaySession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |