Class PlatformKettleDataSourceProvider
java.lang.Object
org.pentaho.platform.plugin.action.kettle.PlatformKettleDataSourceProvider
- All Implemented Interfaces:
org.pentaho.di.core.database.DataSourceProviderInterface
public class PlatformKettleDataSourceProvider
extends Object
implements org.pentaho.di.core.database.DataSourceProviderInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pentaho.di.core.database.DataSourceProviderInterface
org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.di.core.database.DataSourceProviderInterface
getNamedDataSource
(String dataSourceName) getNamedDataSource
(String dataSourceName, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) protected <T extends org.pentaho.platform.api.data.IDBDatasourceService>
DataSourcegetNamedDataSourceFromService
(Class<T> dataSourceServiceInterface, String dataSourceName) getPooledDataSourceFromMeta
(org.pentaho.di.core.database.DatabaseMeta dbMeta, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) protected static void
invalidateNamedDataSource
(String datasourceName, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type)
-
Field Details
-
instance
-
-
Method Details
-
getInstance
public org.pentaho.di.core.database.DataSourceProviderInterface getInstance() -
hookupProvider
protected static void hookupProvider() -
getNamedDataSourceFromService
protected <T extends org.pentaho.platform.api.data.IDBDatasourceService> DataSource getNamedDataSourceFromService(Class<T> dataSourceServiceInterface, String dataSourceName) throws org.pentaho.di.core.database.DataSourceNamingException - Throws:
org.pentaho.di.core.database.DataSourceNamingException
-
getNamedDataSource
public DataSource getNamedDataSource(String dataSourceName) throws org.pentaho.di.core.database.DataSourceNamingException - Specified by:
getNamedDataSource
in interfaceorg.pentaho.di.core.database.DataSourceProviderInterface
- Throws:
org.pentaho.di.core.database.DataSourceNamingException
-
getNamedDataSource
public DataSource getNamedDataSource(String dataSourceName, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) throws org.pentaho.di.core.database.DataSourceNamingException - Specified by:
getNamedDataSource
in interfaceorg.pentaho.di.core.database.DataSourceProviderInterface
- Throws:
org.pentaho.di.core.database.DataSourceNamingException
-
getPooledDataSourceFromMeta
public DataSource getPooledDataSourceFromMeta(org.pentaho.di.core.database.DatabaseMeta dbMeta, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) throws org.pentaho.di.core.database.DataSourceNamingException - Specified by:
getPooledDataSourceFromMeta
in interfaceorg.pentaho.di.core.database.DataSourceProviderInterface
- Throws:
org.pentaho.di.core.database.DataSourceNamingException
-
invalidateNamedDataSource
public DataSource invalidateNamedDataSource(String datasourceName, org.pentaho.di.core.database.DataSourceProviderInterface.DatasourceType type) throws org.pentaho.di.core.database.DataSourceNamingException - Specified by:
invalidateNamedDataSource
in interfaceorg.pentaho.di.core.database.DataSourceProviderInterface
- Throws:
org.pentaho.di.core.database.DataSourceNamingException
-