Package org.apache.synapse.commons.datasource.factory

# Class DataSourceInformationFactory

java.lang.Object
org.apache.synapse.commons.datasource.factory.DataSourceInformationFactory

public class DataSourceInformationFactory extends Object
Factory to create a DataSourceInformation based on given properties

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static DataSourceInformation`
  `createDataSourceInformation(String dsName, Properties properties)`
  Factory method to create a DataSourceInformation instance based on given properties

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

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

- ## Method Details

  - ### createDataSourceInformation

    public static DataSourceInformation createDataSourceInformation(String dsName, Properties properties)
    Factory method to create a DataSourceInformation instance based on given properties
    Parameters:
      `dsName` - DataSource Name
      `properties` - Properties to create and configure DataSource
    Returns:
      DataSourceInformation instance