类 MappingRecordOperation.RecordCreatorImpl
- java.lang.Object
- org.springframework.jca.cci.object.MappingRecordOperation.RecordCreatorImpl
- 所有已实现的接口:
RecordCreator
protected class MappingRecordOperation.RecordCreatorImpl extends Object implements RecordCreator
Implementation of RecordCreator that calls the enclosing class'screateInputRecord
method.
构造器概要
构造器 构造器 说明 RecordCreatorImpl(Object inObject)
构造器详细资料
RecordCreatorImpl
public RecordCreatorImpl(Object inObject)
方法详细资料
createRecord
public Record createRecord(RecordFactory recordFactory) throws ResourceException, DataAccessException
从接口复制的说明:RecordCreator
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.- 指定者:
createRecord
在接口中RecordCreator
- 参数:
recordFactory
- the CCI RecordFactory (nevernull
, but not guaranteed to be supported by the connector: its create methods might throw NotSupportedException)- 返回:
- the Record instance
- 抛出:
ResourceException
- if thrown by a CCI method, to be auto-converted to a DataAccessExceptionDataAccessException
- in case of custom exceptions