org.apache.synapse.commons.datasource

## Class RepositoryBasedDataSourceFinder

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

-     public class RepositoryBasedDataSourceFinder
      extends java.lang.Object

  Finds a DataSource from DataSource Repositories

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RepositoryBasedDataSourceFinder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.sql.DataSource` | `find(java.lang.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 javax.sql.DataSource find(java.lang.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-2021 Apache Software Foundation. All Rights Reserved.