Package org.apache.synapse.commons.datasource

# Class RepositoryBasedDataSourceFinder

java.lang.Object
org.apache.synapse.commons.datasource.RepositoryBasedDataSourceFinder

public class RepositoryBasedDataSourceFinder extends Object
Finds a DataSource from DataSource Repositories

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RepositoryBasedDataSourceFinder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DataSource`
  `find(String name)`
  Find a DataSource using the given name
  `void`
  `init(DataSourceRepositoryManager dataSourceRepositoryManager)`
  `boolean`
  `isInitialized()`

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

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

- ## Constructor Details

  - ### RepositoryBasedDataSourceFinder

    public RepositoryBasedDataSourceFinder()

- ## Method Details

  - ### init

    public void init(DataSourceRepositoryManager dataSourceRepositoryManager)

  - ### find

    public DataSource find(String name)
    Find a DataSource using the given name
    Parameters:
      `name` - name of the DataSource to be found
    Returns:
      DataSource if found , otherwise null

  - ### isInitialized

    public boolean isInitialized()