Bug 151694 appContext is null when evaluating parameters
On a report with parameters, during the resolution of the report parameters, datasource used to populate values of each parameters doesn't have any appContext. We used a jdbcbridbe, and thru appContext, we're retrieving jndi name and others parameters usueful for our datasource. In those case, during the evaluation of parameters, appContext is null so the datasource used to populate values of the parameters are not from the same database ...
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/GetParameterDefinitionTask.java
implements
			IGetParameterDefinitionTask
{
	private static final String VALUE_PREFIX = "__VALUE__";
	private static final String LABEL_PREFIX = "__LABEL__";
	
	
	
	
	protected Collection parameterDefns = null;
	protected HashMap dataCache = null;
	private List labelColumnBindingNames = null;
	/**
	 * @param engine
	 *            reference to the report engine
	 * @param runnable
	 *            the runnable report design
	 */
	public GetParameterDefinitionTask( IReportEngine engine,
			IReportRunnable runnable )
	{
		super( engine, runnable );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.api2.IGetParameterDefinitionTask#getParameterDefns(boolean)
	 */
	public Collection getParameterDefns( boolean includeParameterGroups )