org.apache.synapse.commons.datasource.factory

## Class DataSourceInformationRepositoryFactory

- java.lang.Object
- - org.apache.synapse.commons.datasource.factory.DataSourceInformationRepositoryFactory

-     public class DataSourceInformationRepositoryFactory
      extends java.lang.Object

  Contains Factory methods that use to create DataSourceInformationRepository

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataSourceInformationRepositoryFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DataSourceInformationRepository` | `createDataSourceInformationRepository(DataSourceInformationRepositoryListener listener, java.util.Properties properties)` Factory method to create a DataSourceInformationRepository
    `static DataSourceInformationRepository` | `createDataSourceInformationRepository(java.util.Properties properties)` Factory method to create a DataSourceInformationRepository Use 'DataSourceRepositoryManager' as RepositoryListener
    `static void` | `setupDataSourceInformationRepository(DataSourceInformationRepository datasourceInformationRepository, java.util.Properties properties)` Setup an existing datasource information repository adding the provided datasource information.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DataSourceInformationRepositoryFactory

          public DataSourceInformationRepositoryFactory()

  - ### Method Detail

    - #### createDataSourceInformationRepository

          public static DataSourceInformationRepository createDataSourceInformationRepository(java.util.Properties properties)

      Factory method to create a DataSourceInformationRepository Use 'DataSourceRepositoryManager' as RepositoryListener
      Parameters:
        `properties` - DataSource properties
      Returns:
        DataSourceInformationRepository instance

    - #### createDataSourceInformationRepository

          public static DataSourceInformationRepository createDataSourceInformationRepository(DataSourceInformationRepositoryListener listener,
                                                                                              java.util.Properties properties)

      Factory method to create a DataSourceInformationRepository
      Parameters:
        `listener` - DataSourceInformationRepositoryListener
        `properties` - DataSource properties
      Returns:
        a new, configured DataSourceInformationRepository instance

    - #### setupDataSourceInformationRepository

          public static void setupDataSourceInformationRepository(DataSourceInformationRepository datasourceInformationRepository,
                                                                  java.util.Properties properties)

      Setup an existing datasource information repository adding the provided datasource information.
      Parameters:
        `datasourceInformationRepository` - an existing data source information repository
        `properties` - DataSource properties

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.