Class EisOperation
- java.lang.Object
- org.springframework.jca.cci.object.EisOperation
- All Implemented Interfaces:
InitializingBean
- Direct Known Subclasses:
MappingRecordOperation
,SimpleRecordOperation
public abstract class EisOperation extends Object implements InitializingBean
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.
- Since:
- 1.2
- Author:
- Juergen Hoeller
- See Also:
setConnectionFactory(javax.resource.cci.ConnectionFactory)
,setInteractionSpec(javax.resource.cci.InteractionSpec)
Constructor Summary
Constructors Constructor Description EisOperation()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
Invoked by the containingBeanFactory
after it has set all bean properties and satisfiedBeanFactoryAware
,ApplicationContextAware
etc.CciTemplate
getCciTemplate()
Return the CciTemplate used by this operation.InteractionSpec
getInteractionSpec()
Return the CCI InteractionSpec for this operation.void
setCciTemplate(CciTemplate cciTemplate)
Set the CciTemplate to be used by this operation.void
setConnectionFactory(ConnectionFactory connectionFactory)
Set the CCI ConnectionFactory to be used by this operation.void
setInteractionSpec(InteractionSpec interactionSpec)
Set the CCI InteractionSpec for this operation.
Constructor Detail
EisOperation
public EisOperation()
Method Detail
setCciTemplate
public void setCciTemplate(CciTemplate cciTemplate)
Set the CciTemplate to be used by this operation. Alternatively, specify a CCI ConnectionFactory.
getCciTemplate
public CciTemplate getCciTemplate()
Return the CciTemplate used by this operation.
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
Set the CCI ConnectionFactory to be used by this operation.
setInteractionSpec
public void setInteractionSpec(InteractionSpec interactionSpec)
Set the CCI InteractionSpec for this operation.
getInteractionSpec
public InteractionSpec getInteractionSpec()
Return the CCI InteractionSpec for this operation.
afterPropertiesSet
public void afterPropertiesSet()
Description copied from interface:InitializingBean
Invoked by the containingBeanFactory
after it has set all bean properties and satisfiedBeanFactoryAware
,ApplicationContextAware
etc.This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
- Specified by:
afterPropertiesSet
in interfaceInitializingBean