org.oreodata
Interface DataListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
DataLogger, OreoDataSource, TransactionalDataSource, TransactionScreener
All Known Implementing Classes:
AbstractDataSource, DefaultDataLogger, JDBCTransactionalDataSource

public interface DataListener
extends java.util.EventListener

The interface implemented by objects that listen to data-related events thrown by instances of org.oreodata.OreoDataSource.

Author:
Jonathan Revusky

Method Summary
 void handleEvent(DataEvent event)
          handle the event when the OreoDataSource we are listening to has modified data
 void init(java.util.Properties properties)
          used in the startup phase to initialize the object based on properties.
 

Method Detail

handleEvent

public void handleEvent(DataEvent event)
                 throws java.io.IOException
handle the event when the OreoDataSource we are listening to has modified data

java.io.IOException

init

public void init(java.util.Properties properties)
          throws java.io.IOException
used in the startup phase to initialize the object based on properties. Note that the properties are typically defined in an XML file.

java.io.IOException