org.apache.synapse.commons.datasource
Class RepositoryBasedDataSourceFinder

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

public class RepositoryBasedDataSourceFinder
extends Object

Finds a DataSource from DataSource Repositories


Constructor Summary
RepositoryBasedDataSourceFinder()
           
 
Method Summary
 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-2012 Apache Software Foundation. All Rights Reserved.