Jump to: navigation, search

Appcontext params

Revision as of 04:07, 24 March 2011 by Xgu.actuate.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available Appcontext() Parameters


Component
Key
Usage
JDBC Datasource (org.eclipse.birt.report.data.oda.jdbc)
IConnectionFactory.DRIVER_CLASSPATH
Can be used to manually set the driver classpath that the JDBC plugin uses to locate a driver.
IConnectionFactory.PASS_IN_CONNCTION
Can be used to manually pass in a JDBC connect to be used by the JDBC plugin.
IConnectionFactory.CLOSE_PASS_IN_CONNECTION
Manually set whether the JDBC connections is closed after usage by the plugin. Defaults to true.
XML Data Source (org.eclipse.datatools.enablement.oda.xml)
Constants.APPCONTEXT_INPUTSTREAM
Sets the InputStream for an XML Datasource. Example ByteArrayInputStream.
Constants.APPCONTEXT_CLOSEINPUTSTREAM
Close XML InputStream after it is used.(true or false)
Data Engine (org.eclipse.birt.data.engine.api)
DataEngine.DATA_SET_CACHE_ROW_LIMIT

This settings allows user to cache a data set in disk. If set to negative value, all rows in dataset will be cached. If set to zero, the function is disabled. If set to positive number, specific number of rows will be cached. Should only be used in a design situation.

Change setting to clear.


DataEngine.MEMORY_BUFFER_SIZE
Memory per Query that is used before caching to disk. Defaults to 10MB. Used inside and outside of designer.

DataEngine.MEMORY_DATA_SET_CACHE
Change setting to clear