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 and Description
    `RepositoryBasedDataSourceFinder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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 Detail

    - #### RepositoryBasedDataSourceFinder

          public RepositoryBasedDataSourceFinder()

  - ### Method Detail

    - #### 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()

Copyright © 2005–2017 Apache Software Foundation. All rights reserved.