Class StaticReportDataFactory

  • All Implemented Interfaces:
    ReportDataFactory
    Direct Known Subclasses:
    NamedStaticReportDataFactory

    public class StaticReportDataFactory
    extends java.lang.Object
    implements ReportDataFactory
    This report data factory uses introspection to search for a report data source. The query has the following format: <full-qualified-classname&gr;#methodName(Parameters) <full-qualified-classname&gr;(constructorparams)#methodName(Parameters) <full-qualified-classname&gr;(constructorparams)
    Author:
    Thomas Morgner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the report data factory and all report data instances that have been returned by this instance.
      ReportDataFactory derive()
      Derives a freshly initialized report data factory, which is independend of the original data factory.
      protected java.lang.ClassLoader getClassLoader()  
      void open()  
      ReportData queryData​(java.lang.String query, DataSet parameters)
      Queries a datasource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StaticReportDataFactory

        public StaticReportDataFactory()
    • Method Detail

      • getClassLoader

        protected java.lang.ClassLoader getClassLoader()
      • close

        public void close()
        Description copied from interface: ReportDataFactory
        Closes the report data factory and all report data instances that have been returned by this instance.
        Specified by:
        close in interface ReportDataFactory
      • derive

        public ReportDataFactory derive()
        Derives a freshly initialized report data factory, which is independend of the original data factory. Opening or Closing one data factory must not affect the other factories.
        Specified by:
        derive in interface ReportDataFactory
        Returns: