public abstract class MappingCommAreaOperation extends MappingRecordOperation
MappingRecordOperation.RecordCreatorImpl, MappingRecordOperation.RecordExtractorImpl| Constructor and Description | 
|---|
MappingCommAreaOperation()
Create a new MappingCommAreaQuery. 
 | 
MappingCommAreaOperation(ConnectionFactory connectionFactory,
                        InteractionSpec interactionSpec)
Create a new MappingCommAreaQuery. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Object | 
bytesToObject(byte[] bytes)
Method used to convert the COMMAREA's bytes to an object. 
 | 
protected Record | 
createInputRecord(RecordFactory recordFactory,
                 Object inObject)
Subclasses must implement this method to generate an input Record
 from an input object passed into the  
execute method. | 
protected Object | 
extractOutputData(Record record)
Subclasses must implement this method to convert the Record returned
 by CCI execution into a result object for the  
execute method. | 
protected abstract byte[] | 
objectToBytes(Object inObject)
Method used to convert an object into COMMAREA bytes. 
 | 
execute, setOutputRecordCreatorafterPropertiesSet, getCciTemplate, getInteractionSpec, setCciTemplate, setConnectionFactory, setInteractionSpecpublic MappingCommAreaOperation()
public MappingCommAreaOperation(ConnectionFactory connectionFactory, InteractionSpec interactionSpec)
connectionFactory - ConnectionFactory to use to obtain connectionsinteractionSpec - specification to configure the interactionprotected final Record createInputRecord(RecordFactory recordFactory, Object inObject)
MappingRecordOperationexecute method.createInputRecord in class MappingRecordOperationinObject - the passed-in input objectMappingRecordOperation.execute(Object)protected final Object extractOutputData(Record record) throws DataAccessException
MappingRecordOperationexecute method.extractOutputData in class MappingRecordOperationrecord - the Record returned by CCI executionDataAccessExceptionMappingRecordOperation.execute(Object)protected abstract byte[] objectToBytes(Object inObject) throws IOException, DataAccessException
inObject - the input dataIOException - if thrown by I/O methodsDataAccessException - if conversion failedprotected abstract Object bytesToObject(byte[] bytes) throws IOException, DataAccessException
bytes - the COMMAREA's bytesIOException - if thrown by I/O methodsDataAccessException - if conversion failed