org.sourceforge.beanindex.provider
Interface DataProvider


public interface DataProvider

Author:
Sakthivel Muthusamy

Method Summary
 BeanIndexMetaInfo getBeanIndexMetaInfo()
          Returns the MetaInfo of the Data Transmission scheduled.
 Schedule getSchedule()
          This method returns the Schedule info for this DataProvider.
 void initiateDataTransmission(DataProviderCallBack callBack)
          This method will be called by BeanIndex at the scheduled time.
 

Method Detail

initiateDataTransmission

public void initiateDataTransmission(DataProviderCallBack callBack)
This method will be called by BeanIndex at the scheduled time. The DataProvider should use the DataProviderCallBack methods to start the data transimission

Parameters:
callBack -

getSchedule

public Schedule getSchedule()
This method returns the Schedule info for this DataProvider. The schedule of a DataProvider can be changed by calling BeanIndex method updateDataProviderSchedule.

Returns:
Schedule

getBeanIndexMetaInfo

public BeanIndexMetaInfo getBeanIndexMetaInfo()
Returns the MetaInfo of the Data Transmission scheduled. It is possible to index a different bean than the one that is been currently served by the IndexSearcher.

Returns:
BeanIndexMetaInfo