|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
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.
ReportCacheKey,
Cache,
Engine,
Cache.setEngineFactory(com.inet.report.cache.EngineFactory)| Method Summary | |
|---|---|
Engine |
createEngine(java.util.Properties props)
Creates an Engine based on the properties. |
ReportCacheKey |
getKey(java.util.Properties props)
Creates an unique key for the Engine that createEngine(Properties) returns. |
| Method Detail |
|---|
Engine createEngine(java.util.Properties props)
throws ReportException
Engine based on the properties.
props - contains parameters for the Engine. e.g. "export_fmt" = Engine.EXPORT_PDF.
The properties should not modified.
Engine
ReportException - will be thrown when setting parameters for the Engine failed
ReportCacheKey getKey(java.util.Properties props)
throws ReportException
Engine that createEngine(Properties) returns. This value can be null.
If the value is null then the default key generation algorithm is used.
props - contains parameters for the Engine. Every value that modify the Engine
should be part of the key. The properties should not be modified.
ReportCacheKey
ReportException - will be thrown when the parameters are incomplete.
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||