spring-framework / org.springframework.jca.cci.object / SimpleRecordOperation

SimpleRecordOperation

open class SimpleRecordOperation : EisOperation

EIS operation object that accepts a passed-in CCI input Record and returns a corresponding CCI output Record.

Author
Juergen Hoeller

Since
1.2

Constructors

<init>

SimpleRecordOperation()

Constructor that allows use as a JavaBean.

SimpleRecordOperation(connectionFactory: ConnectionFactory, interactionSpec: InteractionSpec)

Convenient constructor with ConnectionFactory and specifications (connection and interaction).

Functions

execute

open fun execute(inputRecord: Record): Record

Execute the CCI interaction encapsulated by this operation object.

This method will call CCI's Interaction.execute variant that returns an output Record.

open fun execute(inputRecord: Record, outputRecord: Record): Unit

Execute the CCI interaction encapsulated by this operation object.

This method will call CCI's Interaction.execute variant with a passed-in output Record.

Inherited Functions

afterPropertiesSet

open fun afterPropertiesSet(): Unit

getCciTemplate

open fun getCciTemplate(): CciTemplate

Return the CciTemplate used by this operation.

getInteractionSpec

open fun getInteractionSpec(): InteractionSpec

Return the CCI InteractionSpec for this operation.

setCciTemplate

open fun setCciTemplate(cciTemplate: CciTemplate): Unit

Set the CciTemplate to be used by this operation. Alternatively, specify a CCI ConnectionFactory.

setConnectionFactory

open fun setConnectionFactory(connectionFactory: ConnectionFactory): Unit

Set the CCI ConnectionFactory to be used by this operation.

setInteractionSpec

open fun setInteractionSpec(interactionSpec: InteractionSpec): Unit

Set the CCI InteractionSpec for this operation.