public class WmInteraction
extends java.lang.Object
implements javax.resource.cci.Interaction
Interaction
,
WmConnection
Constructor and Description |
---|
WmInteraction(WmConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
clearWarnings()
Clears all the warning reported by this Interaction instance.
|
void |
close()
Closes the current Interaction and release all the resources held for this instance by the resource adapter.
|
javax.resource.cci.Record |
execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record input)
Executes an interaction represented by the InteractionSpec.
|
boolean |
execute(javax.resource.cci.InteractionSpec spec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
Executes an interaction represented by the InteractionSpec.
|
javax.resource.cci.Connection |
getConnection()
Gets the CCI Connection handle associated with the Interaction.
|
protected WmManagedConnection |
getManagedConnection() |
javax.resource.cci.ResourceWarning |
getWarnings()
Gets the first ResourceWarning from the chain of warnings associated with this Interaction instance.
|
public WmInteraction(WmConnection connection)
public void clearWarnings()
clearWarnings
in interface javax.resource.cci.Interaction
public void close()
close
in interface javax.resource.cci.Interaction
public javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec spec, javax.resource.cci.Record input) throws javax.resource.ResourceException
execute
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public boolean execute(javax.resource.cci.InteractionSpec spec, javax.resource.cci.Record input, javax.resource.cci.Record output) throws javax.resource.ResourceException
execute
in interface javax.resource.cci.Interaction
javax.resource.ResourceException
public javax.resource.cci.Connection getConnection()
getConnection
in interface javax.resource.cci.Interaction
protected WmManagedConnection getManagedConnection() throws javax.resource.ResourceException
javax.resource.ResourceException
public javax.resource.cci.ResourceWarning getWarnings()
getWarnings
in interface javax.resource.cci.Interaction
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.