|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jca.cci.object.MappingRecordOperation.RecordCreatorImpl
protected class MappingRecordOperation.RecordCreatorImpl
Implementation of RecordCreator that calls the enclosing
class's createInputRecord
method.
Field Summary | |
---|---|
private java.lang.Object |
inputObject
|
Constructor Summary | |
---|---|
MappingRecordOperation.RecordCreatorImpl(java.lang.Object inObject)
|
Method Summary | |
---|---|
Record |
createRecord(RecordFactory recordFactory)
Create a CCI Record instance, usually based on the passed-in CCI RecordFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.Object inputObject
Constructor Detail |
---|
public MappingRecordOperation.RecordCreatorImpl(java.lang.Object inObject)
Method Detail |
---|
public Record createRecord(RecordFactory recordFactory) throws ResourceException, DataAccessException
RecordCreator
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
in interface RecordCreator
recordFactory
- the CCI RecordFactory (never null
, but not guaranteed to be
supported by the connector: its create methods might throw NotSupportedException)
ResourceException
- if thrown by a CCI method, to be auto-converted
to a DataAccessException
DataAccessException
- in case of custom exceptions
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |