protected class

MappingRecordOperation.RecordCreatorImpl

extends Object
implements RecordCreator
java.lang.Object
   ↳ org.springframework.jca.cci.object.MappingRecordOperation.RecordCreatorImpl

Class Overview

Implementation of RecordCreator that calls the enclosing class's createInputRecord method.

Summary

Public Constructors
MappingRecordOperation.RecordCreatorImpl(Object inObject)
Public Methods
Record createRecord(RecordFactory recordFactory)
Create a CCI Record instance, usually based on the passed-in CCI RecordFactory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.jca.cci.core.RecordCreator

Public Constructors

public MappingRecordOperation.RecordCreatorImpl (Object inObject)

Public Methods

public Record createRecord (RecordFactory recordFactory)

Create a CCI Record instance, usually based on the passed-in CCI RecordFactory.

For use as input creator with CciTemplate's execute methods, this method should create a populated Record instance. For use as output Record creator, it should return an empty Record instance.

Parameters
recordFactory the CCI RecordFactory (never null, but not guaranteed to be supported by the connector: its create methods might throw NotSupportedException)
Returns
  • the Record instance
Throws
DataAccessException
ResourceException