public class PlatformKettleDataSourceProvider extends Object implements org.pentaho.di.core.database.DataSourceProviderInterface
Modifier and Type | Field and Description |
---|---|
protected static PlatformKettleDataSourceProvider |
instance |
Modifier and Type | Method and Description |
---|---|
org.pentaho.di.core.database.DataSourceProviderInterface |
getInstance() |
DataSource |
getNamedDataSource(String dataSourceName) |
DataSource |
getNamedDataSource(String dataSourceName,
org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) |
protected <T extends IDBDatasourceService> |
getNamedDataSourceFromService(Class<T> dataSourceServiceInterface,
String dataSourceName) |
protected static void |
hookupProvider() |
protected static final PlatformKettleDataSourceProvider instance
public org.pentaho.di.core.database.DataSourceProviderInterface getInstance()
protected static void hookupProvider()
protected <T extends IDBDatasourceService> DataSource getNamedDataSourceFromService(Class<T> dataSourceServiceInterface, String dataSourceName) throws org.pentaho.di.core.database.DataSourceNamingException
org.pentaho.di.core.database.DataSourceNamingException
public DataSource getNamedDataSource(String dataSourceName) throws org.pentaho.di.core.database.DataSourceNamingException
getNamedDataSource
in interface org.pentaho.di.core.database.DataSourceProviderInterface
org.pentaho.di.core.database.DataSourceNamingException
public DataSource getNamedDataSource(String dataSourceName, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) throws org.pentaho.di.core.database.DataSourceNamingException
getNamedDataSource
in interface org.pentaho.di.core.database.DataSourceProviderInterface
org.pentaho.di.core.database.DataSourceNamingException
Copyright © 2017 Hitachi Vantara. All rights reserved.