Klasse EngineFactoryImpl

java.lang.Object
com.inet.report.cache.EngineFactoryImpl
Alle implementierten Schnittstellen:
EngineFactory

public class EngineFactoryImpl extends Object implements EngineFactory
This is the default implementation of the EngineFactory. You can extend it to create your own EngineFactory.
Siehe auch:
  • Konstruktordetails

    • EngineFactoryImpl

      public EngineFactoryImpl()
      FOR INTERNAL USE ONLY
  • Methodendetails

    • createEngine

      public Engine createEngine(Properties props) throws ReportException
      Create a new Engine and initialize it with the properties.
      Angegeben von:
      createEngine in Schnittstelle EngineFactory
      Parameter:
      props - contains parameters for the engine. e.g. "export_fmt" = Engine.EXPORT_PDF. The properties will not modified.
      Gibt zurück:
      the created Engine
      Löst aus:
      ReportException - will be thrown when setting parameters for the Engine failed
      Seit:
      6.0
      Siehe auch:
    • getKey

      public @Nonnull ReportCacheKey getKey(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".
      Angegeben von:
      getKey in Schnittstelle EngineFactory
      Parameter:
      props - contains the parameters for the engine and the key. The properties will not modified.
      Gibt zurück:
      the created ReportCacheKey
      Löst aus:
      ReportException - if there is no parameter report.
      Seit:
      6.0