org.springframework.jca.cci.object
abstract public class: EisOperation [javadoc |
source]
java.lang.Object
org.springframework.jca.cci.object.EisOperation
All Implemented Interfaces:
InitializingBean
Direct Known Subclasses:
MappingCommAreaOperation, MappingRecordOperation, SimpleRecordOperation
Base class for EIS operation objects that work with the CCI API.
Encapsulates a CCI ConnectionFactory and a CCI InteractionSpec.
Works with a CciTemplate instance underneath. EIS operation objects
are an alternative to working with a CciTemplate directly.
| Method from org.springframework.jca.cci.object.EisOperation Detail: |
public void afterPropertiesSet() {
this.cciTemplate.afterPropertiesSet();
if (this.interactionSpec == null) {
throw new IllegalArgumentException("interactionSpec is required");
}
}
|
public CciTemplate getCciTemplate() {
return this.cciTemplate;
}
Return the CciTemplate used by this operation. |
public InteractionSpec getInteractionSpec() {
return this.interactionSpec;
}
Return the CCI InteractionSpec for this operation. |
public void setCciTemplate(CciTemplate cciTemplate) {
if (cciTemplate == null) {
throw new IllegalArgumentException("cciTemplate must not be null");
}
this.cciTemplate = cciTemplate;
}
Set the CciTemplate to be used by this operation.
Alternatively, specify a CCI ConnectionFactory. |
public void setConnectionFactory(ConnectionFactory connectionFactory) {
this.cciTemplate.setConnectionFactory(connectionFactory);
}
Set the CCI ConnectionFactory to be used by this operation. |
public void setInteractionSpec(InteractionSpec interactionSpec) {
this.interactionSpec = interactionSpec;
}
Set the CCI InteractionSpec for this operation. |