Groovy Documentation

griffon.plugins.datasource
[Java] Class AbstractDataSourceProvider

java.lang.Object
  griffon.plugins.datasource.AbstractDataSourceProvider
All Implemented Interfaces:
DataSourceProvider

public abstract class AbstractDataSourceProvider
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private static org.slf4j.Logger LOG

 
Constructor Summary
AbstractDataSourceProvider()

 
Method Summary
protected DataSource getDataSource(String dataSourceName)

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


LOG

private static final org.slf4j.Logger LOG


 
Constructor Detail

AbstractDataSourceProvider

AbstractDataSourceProvider()


 
Method Detail

getDataSource

protected DataSource getDataSource(String dataSourceName)


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