net.windward.bean
Class StatefulBeanProviderImpl

java.lang.Object
  |
  +--net.windward.bean.BeanProviderImpl
        |
        +--net.windward.bean.StatefulBeanProviderImpl
All Implemented Interfaces:
BeanProvider, StatefulBeanProvider

public class StatefulBeanProviderImpl
extends BeanProviderImpl
implements StatefulBeanProvider

Version:
1.0 Aug 13, 2004

Constructor Summary
StatefulBeanProviderImpl()
           
 
Method Summary
 void datasourceSetup(DataSourceProvider provider, java.lang.String name)
          This method is called before each datasource is applied to a report.
 void datasourceTeardown()
          This method is called after each datasource is applied to a report.
 void reportSetup(ProcessReport process, java.util.Properties properties)
          This method is called before any datasources are applied to a report.
 void reportTeardown()
          This method is called after all datasources are applied to a report.
 
Methods inherited from class net.windward.bean.BeanProviderImpl
forEachTag, functionTag, ifTag, outTag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.windward.bean.BeanProvider
forEachTag, functionTag, ifTag, outTag
 

Constructor Detail

StatefulBeanProviderImpl

public StatefulBeanProviderImpl()
Method Detail

reportSetup

public void reportSetup(ProcessReport process,
                        java.util.Properties properties)
This method is called before any datasources are applied to a report.
Specified by:
reportSetup in interface StatefulBeanProvider
Parameters:
process - The process object for the report. This method is called after process.processSetup() has completed.
properties - The properties set for this bean in the server properties file. These are the same properties passed to StatelessBeanProvider.serverSetup().

reportTeardown

public void reportTeardown()
This method is called after all datasources are applied to a report.
Specified by:
reportTeardown in interface StatefulBeanProvider
Following copied from interface: net.windward.bean.StatefulBeanProvider
Throws:
BeanProviderException - thrown if the bean can not be used. This will stop the report from completing.

datasourceSetup

public void datasourceSetup(DataSourceProvider provider,
                            java.lang.String name)
This method is called before each datasource is applied to a report.
Specified by:
datasourceSetup in interface StatefulBeanProvider
Parameters:
provider - The datasource that is about to be applied to the report.
name - The name of the datasource.

datasourceTeardown

public void datasourceTeardown()
This method is called after each datasource is applied to a report.
Specified by:
datasourceTeardown in interface StatefulBeanProvider
Following copied from interface: net.windward.bean.StatefulBeanProvider
Throws:
BeanProviderException - thrown if the bean can not be used. This will stop the report from completing.


Copyright © 2002 - 2008 Windward Reports - All Rights Reserved. java reporting software