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
  • Field Details

  • 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 interface org.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 interface org.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 interface org.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 interface org.pentaho.di.core.database.DataSourceProviderInterface
      Throws:
      org.pentaho.di.core.database.DataSourceNamingException