Groovy Documentation

griffon.plugins.mybatis
[Java] Class MybatisContributionAdapter

java.lang.Object
  griffon.plugins.mybatis.MybatisContributionAdapter
All Implemented Interfaces:
MybatisContributionHandler

public class MybatisContributionAdapter
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private MybatisProvider provider

 
Constructor Summary
MybatisContributionAdapter()

 
Method Summary
MybatisProvider getMybatisProvider()

void setMybatisProvider(MybatisProvider provider)

R withSqlSession(Closure closure)

R withSqlSession(String sessionFactoryName, Closure closure)

R withSqlSession(CallableWithArgs callable)

R withSqlSession(String sessionFactoryName, CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DEFAULT

private static final String DEFAULT


provider

private MybatisProvider provider


 
Constructor Detail

MybatisContributionAdapter

MybatisContributionAdapter()


 
Method Detail

getMybatisProvider

public MybatisProvider getMybatisProvider()


setMybatisProvider

public void setMybatisProvider(MybatisProvider provider)


withSqlSession

public R withSqlSession(Closure closure)


withSqlSession

public R withSqlSession(String sessionFactoryName, Closure closure)


withSqlSession

public R withSqlSession(CallableWithArgs callable)


withSqlSession

public R withSqlSession(String sessionFactoryName, CallableWithArgs callable)


 

Groovy Documentation