org.sourceforge.beanindex.provider
Interface DataProviderCallBack

All Known Implementing Classes:
BeanIndex

public interface DataProviderCallBack

Author:
Sakthivel Muthusamy

Method Summary
 void add(Index index, java.lang.Object bean)
          This method adds the beans to the index and stores the object into beanrepository
 void notifyEnd()
          This method should be called by the DataProvider at the end of DataTransmission
 void notifyStart(boolean useVirtualMemory)
          This method should be called by the DataProvider before starting the Transmission after receiving the initiateDataTransmission signal
 

Method Detail

notifyStart

public void notifyStart(boolean useVirtualMemory)
                 throws java.lang.Exception
This method should be called by the DataProvider before starting the Transmission after receiving the initiateDataTransmission signal

Parameters:
useVirtualMemory -
Throws:
java.lang.Exception

add

public void add(Index index,
                java.lang.Object bean)
         throws java.lang.Exception
This method adds the beans to the index and stores the object into beanrepository

Parameters:
index -
bean -
Throws:
java.lang.Exception

notifyEnd

public void notifyEnd()
               throws java.lang.Exception
This method should be called by the DataProvider at the end of DataTransmission

Throws:
java.lang.Exception