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 DataSourceRepositories


Constructor Summary
RepositoryBasedDataSourceFinder()
           
 
Method Summary
 DataSource find(String name)
          Find a DataSource using 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 given name

Parameters:
name - Name of the DataSource to be found
Returns:
DataSource if found , otherwise null

isInitialized

public boolean isInitialized()


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.