public class DatabaseModule extends AbstractDirigibleModule
| Constructor and Description |
|---|
DatabaseModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
static List<String> |
getDatabaseTypes()
Gets the database types.
|
static DataSource |
getDataSource(String type,
String datasource)
Gets the data source.
|
static Set<String> |
getDataSources(String type)
Gets the data sources.
|
String |
getName() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModulepublic String getName()
getName in class AbstractDirigibleModulepublic static DataSource getDataSource(String type, String datasource)
type - the typedatasource - the datasourcepublic static List<String> getDatabaseTypes()
Copyright © 2010–2018 Eclipse Foundation. All rights reserved.