|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordHolder
An interface to support third party generated records. It is used to set the EIS data as the CCI Record on the generated record.
It is used in the outbound J2C service invocation when the resource adapter supports the execute method with input only
and in the inbound invocation.
This interface is analogous to the RecordHolderDataBinding
for the use with generated Records which
will implement it.
Method Summary | |
---|---|
Record |
getRecord()
Get the native representation of data as cci Record. |
void |
setRecord(Record aRecord)
Set the native data on the generated record. |
Method Detail |
---|
Record getRecord() throws DataBindingException
For inbound invocation, the record is returned from the listener method (for example onMessage). If the resource adapter does not support InboundListener interface, the record may be the instance of the InboundNativeDataRecord.
null
which
indicates that there is no native data. Any error must be reported using DataBindingException.
DataBindingException
- if an error occured during execution. The cause
may contain the original exception.
void setRecord(Record aRecord) throws DataBindingException
For inbound invocation, it is the argument of the listener interface method. If the resource adapter does not support InboundListener interface, the record will be an instance of the InboundNativeDataRecord.
aRecord
- Native representation of the data as cci Record. The argument may be null
.
DataBindingException
- if an error occured during execution. The cause
may contain the original exception.InboundNativeDataRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |