## Uses of Class
org.apache.synapse.commons.datasource.DataSourceInformation

- Packages that use DataSourceInformation
  Package | Description
  --- | ---
  org.apache.synapse.commons.datasource |
  org.apache.synapse.commons.datasource.factory |
  org.apache.synapse.commons.datasource.serializer |

- - ### Uses of DataSourceInformation in org.apache.synapse.commons.datasource

    Methods in org.apache.synapse.commons.datasource that return DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `DataSourceInformation` | DataSourceInformationRepository.`getDataSourceInformation​(String name)` | Get an existing `DataSourceInformation` instance for the given name
    `DataSourceInformation` | DataSourceInformationRepository.`removeDataSourceInformation​(String name)` | Removing a DataSourceInformation instance by name

    Methods in org.apache.synapse.commons.datasource that return types with arguments of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `Iterator<DataSourceInformation>` | DataSourceInformationRepository.`getAllDataSourceInformation()` | Returns all `DataSourceInformation`s in the repository

    Methods in org.apache.synapse.commons.datasource with parameters of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DataSourceInformationRepository.`addDataSourceInformation​(DataSourceInformation dataSourceInformation)` | Adding a DataSourceInformation instance
    `void` | DataSourceInformationRepositoryListener.`addDataSourceInformation​(DataSourceInformation dataSourceInformation)` | Event when adding a DataSourceInformation
    `void` | DataSourceRepositoryManager.`addDataSourceInformation​(DataSourceInformation dataSourceInformation)` |
    `void` | DataSourceRepository.`register​(DataSourceInformation information)` | Register a DataSource based on given information Information is encapsulated in a DataSourceInformation instance
    `void` | InMemoryDataSourceRepository.`register​(DataSourceInformation dataSourceInformation)` | Keep DataSource in the Local store.
    `void` | JNDIBasedDataSourceRepository.`register​(DataSourceInformation information)` | Register a DataSource in the JNDI tree
    `void` | DataSourceInformationRepositoryListener.`removeDataSourceInformation​(DataSourceInformation dataSourceInformation)` | Event when removing a DataSourceInformation instance
    `void` | DataSourceRepositoryManager.`removeDataSourceInformation​(DataSourceInformation dataSourceInformation)` |

  - ### Uses of DataSourceInformation in org.apache.synapse.commons.datasource.factory

    Methods in org.apache.synapse.commons.datasource.factory that return DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static DataSourceInformation` | DataSourceInformationFactory.`createDataSourceInformation​(String dsName, Properties properties)` | Factory method to create a DataSourceInformation instance based on given properties

    Methods in org.apache.synapse.commons.datasource.factory that return types with arguments of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<DataSourceInformation>` | DataSourceInformationListFactory.`createDataSourceInformationList​(Properties dsProperties)` | Factory method for creating a a DataSourceInformation Collection

    Methods in org.apache.synapse.commons.datasource.factory with parameters of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static DataSource` | DataSourceFactory.`createDataSource​(DataSourceInformation dataSourceInformation)` | Factory method to create a DataSource based on provided information which is encapsulated in the DataSourceInformation object.

  - ### Uses of DataSourceInformation in org.apache.synapse.commons.datasource.serializer

    Methods in org.apache.synapse.commons.datasource.serializer with parameters of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Properties` | DataSourceInformationSerializer.`serialize​(DataSourceInformation information)` | Serialize a DataSourceInformation to a Properties

    Method parameters in org.apache.synapse.commons.datasource.serializer with type arguments of type DataSourceInformation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Properties` | DataSourceInformationListSerializer.`serialize​(List<DataSourceInformation> dataSourceInformationList)` | Serializes a list of DataSourceInformation into a properties