net.sourceforge.hivetranse.transaction.ibatis
Class SqlMapClientFactory

java.lang.Object
  extended by net.sourceforge.hivetranse.transaction.ibatis.SqlMapClientFactory
All Implemented Interfaces:
org.apache.hivemind.ServiceImplementationFactory

public class SqlMapClientFactory
extends java.lang.Object
implements org.apache.hivemind.ServiceImplementationFactory

This service creates Proxys to iBATIS SqlMapClient (V2).

ServiceModel must be singleton

Author:
Jean-Francois Poilpret

Constructor Summary
SqlMapClientFactory()
           
 
Method Summary
protected  com.ibatis.sqlmap.client.SqlMapClient buildSqlMapClient(org.apache.commons.logging.Log logger, org.apache.hivemind.Resource config)
           
 java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlMapClientFactory

public SqlMapClientFactory()
Method Detail

createCoreServiceImplementation

public java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParams)
Specified by:
createCoreServiceImplementation in interface org.apache.hivemind.ServiceImplementationFactory

buildSqlMapClient

protected com.ibatis.sqlmap.client.SqlMapClient buildSqlMapClient(org.apache.commons.logging.Log logger,
                                                                  org.apache.hivemind.Resource config)