org.jcreme.reporting
Interface DataSource

All Known Implementing Classes:
ProcessInfoSource

public interface DataSource

This is the general interface for all the DataSources. It provides the declaration of the event system support. DataSources can be used by reports to gain access to the data they need. It provides a great flexibility to assemble different data channels.

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $

Method Summary
 void addDataChangeListener(DataChangeListener listener)
          Adds a DataChangeListener to this source.
 void removeDataChangeListener(DataChangeListener listener)
          Removes a DataChangeListener from this source.
 

Method Detail

addDataChangeListener

public void addDataChangeListener(DataChangeListener listener)
Adds a DataChangeListener to this source. The listener will be notified of any data change detected by the source.

Parameters:
listener - the listener to add.

removeDataChangeListener

public void removeDataChangeListener(DataChangeListener listener)
Removes a DataChangeListener from this source.

Parameters:
listener - the listener to remove.


Copyright 2006 null. All Rights Reserved.