public class SimpleRecordOperation extends EisOperation
| Constructor and Description | 
|---|
| SimpleRecordOperation()Constructor that allows use as a JavaBean. | 
| SimpleRecordOperation(ConnectionFactory connectionFactory,
                     InteractionSpec interactionSpec)Convenient constructor with ConnectionFactory and specifications
 (connection and interaction). | 
| Modifier and Type | Method and Description | 
|---|---|
| Record | execute(Record inputRecord)Execute the CCI interaction encapsulated by this operation object. | 
| void | execute(Record inputRecord,
       Record outputRecord)Execute the CCI interaction encapsulated by this operation object. | 
afterPropertiesSet, getCciTemplate, getInteractionSpec, setCciTemplate, setConnectionFactory, setInteractionSpecpublic SimpleRecordOperation()
public SimpleRecordOperation(ConnectionFactory connectionFactory, InteractionSpec interactionSpec)
connectionFactory - the ConnectionFactory to use to obtain connections@Nullable public Record execute(Record inputRecord) throws DataAccessException
This method will call CCI's Interaction.execute variant
 that returns an output Record.
inputRecord - the input recordDataAccessException - if there is any problemInteraction.execute(javax.resource.cci.InteractionSpec, Record)public void execute(Record inputRecord, Record outputRecord) throws DataAccessException
This method will call CCI's Interaction.execute variant
 with a passed-in output Record.
inputRecord - the input recordoutputRecord - the output recordDataAccessException - if there is any problemInteraction.execute(javax.resource.cci.InteractionSpec, Record, Record)