Groovy Documentation

griffon.plugins.datasource
[Java] Class DataSourceContributionAdapter

java.lang.Object
  griffon.plugins.datasource.DataSourceContributionAdapter
All Implemented Interfaces:
DataSourceContributionHandler

public class DataSourceContributionAdapter
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private DataSourceProvider provider

 
Constructor Summary
DataSourceContributionAdapter()

 
Method Summary
DataSourceProvider getDataSourceProvider()

void setDataSourceProvider(DataSourceProvider provider)

R withSql(Closure closure)

R withSql(String dataSourceName, Closure closure)

R withSql(CallableWithArgs callable)

R withSql(String dataSourceName, 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 DataSourceProvider provider


 
Constructor Detail

DataSourceContributionAdapter

DataSourceContributionAdapter()


 
Method Detail

getDataSourceProvider

public DataSourceProvider getDataSourceProvider()


setDataSourceProvider

public void setDataSourceProvider(DataSourceProvider provider)


withSql

public R withSql(Closure closure)


withSql

public R withSql(String dataSourceName, Closure closure)


withSql

public R withSql(CallableWithArgs callable)


withSql

public R withSql(String dataSourceName, CallableWithArgs callable)


 

Groovy Documentation