Class EngineFactoryImpl

  • All Implemented Interfaces:
    EngineFactory

    public class EngineFactoryImpl
    extends java.lang.Object
    implements EngineFactory
    This is the default implementation of the EngineFactory. You can extend it to create your own EngineFactory.
    See Also:
    EngineFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      EngineFactoryImpl()
      FOR INTERNAL USE ONLY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Engine createEngine​(java.util.Properties props)
      Create a new Engine and initialize it with the properties.
      ReportCacheKey getKey​(java.util.Properties props)
      Create a unique key for the Engine that is returned by createEngine().
      • Methods inherited from class java.lang.Object

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

      • EngineFactoryImpl

        public EngineFactoryImpl()
        FOR INTERNAL USE ONLY
    • Method Detail

      • getKey

        public ReportCacheKey getKey​(java.util.Properties props)
                              throws ReportException
        Create a unique key for the Engine that is returned by createEngine(). The key contains all key/value pairs from the Properties object without any internal controlling properties like "page".
        Specified by:
        getKey in interface EngineFactory
        Parameters:
        props - contains the parameters for the engine and the key. The properties will not modified.
        Returns:
        the created ReportCacheKey
        Throws:
        ReportException - if there is no parameter report.
        Since:
        6.0