|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(javax.resource.cci.ConnectionFactory connectionFactory,
javax.resource.cci.InteractionSpec interactionSpec)
Convenient constructor with ConnectionFactory and specifications (connection and interaction). |
Method Summary | |
---|---|
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. |
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(javax.resource.cci.ConnectionFactory connectionFactory, javax.resource.cci.InteractionSpec interactionSpec)
connectionFactory
- ConnectionFactory to use to obtain connectionsMethod Detail |
---|
public 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 record
DataAccessException
- 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 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 |