Module hivetranse.ibatis
Back to master index

[public] Service Point hivetranse.ibatis.SqlMapClientFactory Interface: org.apache.hivemind.ServiceImplementationFactory
Factory to create iBATIS SqlMapClients to be used in the context of transactions managed by the TransactionService.
Parameters occurs: 1
Parameters Schema
Element <sqlmap>
One unique sqlmap element describes the configuration file that will be used to create iBATIS SqlMapClient and the Connection to be used.
Attribute config (required) Translator: resource
Location of iBATIS SqlMapClient XML configuration file.
Attribute connection (required) Translator: service
id of Connection service to be used by the built iBATIS SqlMapClient (this service must have been built by hivetranse.jdbc.ConnectionFactory)
Conversion Rules
<create-object class="net.sourceforge.hivetranse.transaction.ibatis.SqlMapClientFactoryContribution" />
<read-attribute attribute="config" property="config" />
<read-attribute attribute="connection" property="connection" />
<invoke-parent method="addElement" />
Implementation
  • <create-instance class="net.sourceforge.hivetranse.transaction.ibatis.SqlMapClientFactory" model="primitive" />

Module hivetranse.ibatis
Back to master index