Schnittstelle EngineFactory
- Alle bekannten Implementierungsklassen:
EngineFactoryImpl
public interface EngineFactory
An instance of this interface creates a
ReportCacheKey and Engine based on the properties.
The Cache is calling the current factory to build keys and engines.
You can implement your EngineFactory to create or modify an Engine with RDC. You can set your
implementation with Cache.setEngineFactory(EngineFactory).
The created key must be unique for the created Engine.- Siehe auch:
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungcreateEngine(Properties props) Creates anEnginebased on the properties.@Nonnull ReportCacheKeygetKey(Properties props) Creates an unique key for theEnginethatcreateEngine(Properties)returns.
-
Methodendetails
-
createEngine
Creates anEnginebased on the properties.- Parameter:
props- contains parameters for theEngine. e.g. "export_fmt" =Engine.EXPORT_PDF. The properties should not modified.- Gibt zurück:
- the created
Engine - Löst aus:
ReportException- will be thrown when setting parameters for theEnginefailed- Seit:
- 6.0
-
getKey
Creates an unique key for theEnginethatcreateEngine(Properties)returns. This value can benull. If the value isnullthen the default key generation algorithm is used.- Parameter:
props- contains parameters for theEngine. Every value that modify theEngineshould be part of the key. The properties should not be modified.- Gibt zurück:
- the created
ReportCacheKey - Löst aus:
ReportException- will be thrown when the parameters are incomplete.- Seit:
- 6.0
-