public class SimpleRecordOperation extends EisOperation
Constructor and Description |
---|
SimpleRecordOperation()
Constructor that allows use as a JavaBean.
|
SimpleRecordOperation(javax.resource.cci.ConnectionFactory connectionFactory,
javax.resource.cci.InteractionSpec interactionSpec)
Convenient constructor with ConnectionFactory and specifications
(connection and interaction).
|
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.Record |
execute(javax.resource.cci.Record inputRecord)
Execute the CCI interaction encapsulated by this operation object.
|
void |
execute(javax.resource.cci.Record inputRecord,
javax.resource.cci.Record outputRecord)
Execute the CCI interaction encapsulated by this operation object.
|
afterPropertiesSet, getCciTemplate, getInteractionSpec, setCciTemplate, setConnectionFactory, setInteractionSpec
public SimpleRecordOperation()
public SimpleRecordOperation(javax.resource.cci.ConnectionFactory connectionFactory, javax.resource.cci.InteractionSpec interactionSpec)
connectionFactory
- ConnectionFactory to use to obtain connectionspublic javax.resource.cci.Record execute(javax.resource.cci.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(javax.resource.cci.Record inputRecord, javax.resource.cci.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)
Copyright © 2015. All rights reserved.