org.pentaho.reporting.engine.classic.core
Interface ContextAwareDataFactory

All Superinterfaces:
Cloneable, DataFactory, Serializable

Deprecated. Merged with DataFactory interface

public interface ContextAwareDataFactory
extends DataFactory

A datafactory that is able to receive context information from the report-processor.

Author:
Thomas Morgner

Field Summary
 
Fields inherited from interface org.pentaho.reporting.engine.classic.core.DataFactory
QUERY_LIMIT, QUERY_TIMEOUT
 
Method Summary
 void initialize(org.pentaho.reporting.libraries.base.config.Configuration configuration, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.pentaho.reporting.libraries.resourceloader.ResourceKey contextKey, ResourceBundleFactory resourceBundleFactory)
          Deprecated. Initializes the data factory and provides new context information.
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.DataFactory
cancelRunningQuery, clone, close, derive, getQueryNames, isQueryExecutable, open, queryData
 

Method Detail

initialize

void initialize(org.pentaho.reporting.libraries.base.config.Configuration configuration,
                org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
                org.pentaho.reporting.libraries.resourceloader.ResourceKey contextKey,
                ResourceBundleFactory resourceBundleFactory)
Deprecated. 
Initializes the data factory and provides new context information. Initialize is always called before the datafactory has been opened by calling DataFactory#open.

Specified by:
initialize in interface DataFactory
Parameters:
configuration - the current report configuration.
resourceManager - the report's resource manager.
contextKey - the report's context key to access resources relative to the report location.
resourceBundleFactory - the report's resource-bundle factory to access localization information.