net.sourceforge.hivetranse.transaction.ibatis
Class SqlMapClientFactoryContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by net.sourceforge.hivetranse.transaction.ibatis.SqlMapClientFactoryContribution
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class SqlMapClientFactoryContribution
extends org.apache.hivemind.impl.BaseLocatable

Represents a configuration parameter to the SqlMapClientFactory configured for building a SqlMapClient service. Each instance defines a iBATIS SqlMaps configuration file and a Connection service reference (must be built by hivetranse.jdbc.ConnectionFactory).

Author:
Jean-Francois Poilpret

Constructor Summary
SqlMapClientFactoryContribution()
           
 
Method Summary
 org.apache.hivemind.Resource getConfig()
           
 java.sql.Connection getConnection()
           
 void setConfig(org.apache.hivemind.Resource config)
           
 void setConnection(java.sql.Connection connection)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlMapClientFactoryContribution

public SqlMapClientFactoryContribution()
Method Detail

setConfig

public void setConfig(org.apache.hivemind.Resource config)

getConfig

public org.apache.hivemind.Resource getConfig()

setConnection

public void setConnection(java.sql.Connection connection)

getConnection

public java.sql.Connection getConnection()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object