public class DatasourceModule extends AbstractReportServerModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
static java.lang.String |
PROPERTY_DEFAULT_DATASOURCE_ID |
static java.lang.String |
PROPERTY_DEFAULT_DATASOURCE_KEY |
static java.lang.String |
PROPERTY_DEFAULT_DATASOURCE_NAME |
Constructor and Description |
---|
DatasourceModule() |
Modifier and Type | Method and Description |
---|---|
Configuration |
provideConfig(ConfigService configService) |
java.util.Set<java.lang.Class<? extends DatasourceDefinition>> |
provideDataSourceDefinitions(HookHandlerService hookHandler)
Register DatasourceDefinitions
|
java.lang.String |
provideDefaultDatasourceId(Configuration config,
DatasourceService dsService) |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String PROPERTY_DEFAULT_DATASOURCE_ID
public static final java.lang.String PROPERTY_DEFAULT_DATASOURCE_NAME
public static final java.lang.String PROPERTY_DEFAULT_DATASOURCE_KEY
public java.util.Set<java.lang.Class<? extends DatasourceDefinition>> provideDataSourceDefinitions(HookHandlerService hookHandler)
public Configuration provideConfig(ConfigService configService)
public java.lang.String provideDefaultDatasourceId(Configuration config, DatasourceService dsService)