| |
|
| java.lang.Object org.springframework.jca.cci.object.EisOperation org.springframework.jca.cci.object.SimpleRecordOperation
SimpleRecordOperation | public class SimpleRecordOperation extends EisOperation (Code) | | EIS operation object that accepts a passed-in CCI input Record
and returns a corresponding CCI output Record.
author: Juergen Hoeller since: 1.2 |
Constructor Summary | |
public | SimpleRecordOperation() Constructor that allows use as a JavaBean. | public | SimpleRecordOperation(ConnectionFactory connectionFactory, InteractionSpec interactionSpec) Convenient constructor with ConnectionFactory and specifications
(connection and interaction). |
Method Summary | |
public Record | execute(Record inputRecord) Execute the CCI interaction encapsulated by this operation object. | public void | execute(Record inputRecord, Record outputRecord) Execute the CCI interaction encapsulated by this operation object. |
SimpleRecordOperation | public SimpleRecordOperation()(Code) | | Constructor that allows use as a JavaBean.
|
SimpleRecordOperation | public SimpleRecordOperation(ConnectionFactory connectionFactory, InteractionSpec interactionSpec)(Code) | | Convenient constructor with ConnectionFactory and specifications
(connection and interaction).
Parameters: connectionFactory - ConnectionFactory to use to obtain connections |
execute | public Record execute(Record inputRecord) throws DataAccessException(Code) | | Execute the CCI interaction encapsulated by this operation object.
This method will call CCI's Interaction.execute variant
that returns an output Record.
Parameters: inputRecord - the input record the output record throws: DataAccessException - if there is any problem See Also: javax.resource.cci.Interaction.execute(javax.resource.cci.InteractionSpecRecord) |
execute | public void execute(Record inputRecord, Record outputRecord) throws DataAccessException(Code) | | Execute the CCI interaction encapsulated by this operation object.
This method will call CCI's Interaction.execute variant
with a passed-in output Record.
Parameters: inputRecord - the input record Parameters: outputRecord - the output record throws: DataAccessException - if there is any problem See Also: javax.resource.cci.Interaction.execute(javax.resource.cci.InteractionSpecRecordRecord) |
|
|
|