|
spring-tx | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jca.cci.object.EisOperation
org.springframework.jca.cci.object.MappingRecordOperation
org.springframework.jca.cci.object.MappingCommAreaOperation
public abstract class MappingCommAreaOperation
EIS operation object for access to COMMAREA records. Subclass of the generic MappingRecordOperation class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.jca.cci.object.MappingRecordOperation |
|---|
MappingRecordOperation.RecordCreatorImpl, MappingRecordOperation.RecordExtractorImpl |
| Constructor Summary | |
|---|---|
MappingCommAreaOperation()
Create a new MappingCommAreaQuery. |
|
MappingCommAreaOperation(javax.resource.cci.ConnectionFactory connectionFactory,
javax.resource.cci.InteractionSpec interactionSpec)
Create a new MappingCommAreaQuery. |
|
| Method Summary | |
|---|---|
protected abstract java.lang.Object |
bytesToObject(byte[] bytes)
Method used to convert the COMMAREA's bytes to an object. |
protected javax.resource.cci.Record |
createInputRecord(javax.resource.cci.RecordFactory recordFactory,
java.lang.Object inObject)
Subclasses must implement this method to generate an input Record from an input object passed into the execute method. |
protected java.lang.Object |
extractOutputData(javax.resource.cci.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(java.lang.Object inObject)
Method used to convert an object into COMMAREA bytes. |
| Methods inherited from class org.springframework.jca.cci.object.MappingRecordOperation |
|---|
execute, setOutputRecordCreator |
| Methods inherited from class org.springframework.jca.cci.object.EisOperation |
|---|
afterPropertiesSet, getCciTemplate, getInteractionSpec, setCciTemplate, setConnectionFactory, setInteractionSpec |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappingCommAreaOperation()
EisOperation.setConnectionFactory(javax.resource.cci.ConnectionFactory),
EisOperation.setInteractionSpec(javax.resource.cci.InteractionSpec)
public MappingCommAreaOperation(javax.resource.cci.ConnectionFactory connectionFactory,
javax.resource.cci.InteractionSpec interactionSpec)
connectionFactory - ConnectionFactory to use to obtain connectionsinteractionSpec - specification to configure the interaction| Method Detail |
|---|
protected final javax.resource.cci.Record createInputRecord(javax.resource.cci.RecordFactory recordFactory,
java.lang.Object inObject)
MappingRecordOperationexecute method.
createInputRecord in class MappingRecordOperationinObject - the passed-in input object
MappingRecordOperation.execute(Object)
protected final java.lang.Object extractOutputData(javax.resource.cci.Record record)
throws DataAccessException
MappingRecordOperationexecute method.
extractOutputData in class MappingRecordOperationrecord - the Record returned by CCI execution
DataAccessExceptionMappingRecordOperation.execute(Object)
protected abstract byte[] objectToBytes(java.lang.Object inObject)
throws java.io.IOException,
DataAccessException
inObject - the input data
java.io.IOException - if thrown by I/O methods
DataAccessException - if conversion failed
protected abstract java.lang.Object bytesToObject(byte[] bytes)
throws java.io.IOException,
DataAccessException
bytes - the COMMAREA's bytes
java.io.IOException - if thrown by I/O methods
DataAccessException - if conversion failed
|
spring-tx | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||