|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jca.cci.object.EisOperation org.springframework.jca.cci.object.SimpleRecordOperation
public class SimpleRecordOperation
EIS operation object that accepts a passed-in CCI input Record and returns a corresponding CCI output Record.
Constructor Summary | |
---|---|
SimpleRecordOperation()
Constructor that allows use as a JavaBean. |
|
SimpleRecordOperation(ConnectionFactory connectionFactory,
InteractionSpec interactionSpec)
Convenient constructor with ConnectionFactory and specifications (connection and interaction). |
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.jca.cci.object.EisOperation |
---|
afterPropertiesSet, getCciTemplate, getInteractionSpec, setCciTemplate, setConnectionFactory, setInteractionSpec |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRecordOperation()
public SimpleRecordOperation(ConnectionFactory connectionFactory, InteractionSpec interactionSpec)
connectionFactory
- ConnectionFactory to use to obtain connectionsMethod Detail |
---|
public Record execute(Record inputRecord) throws DataAccessException
This method will call CCI's Interaction.execute
variant
that returns an output Record.
inputRecord
- the input record
DataAccessException
- 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 record
DataAccessException
- if there is any problemInteraction.execute(javax.resource.cci.InteractionSpec, Record, Record)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |