Bug 330873 Enable the ODA Runtime framework to run on non-OSGi platform
The ODA framework currently requires an ODA runtime extension to run as an OSGi bundle. This enhancement calls for enabling support to run on non-OSGi platform, if needed, such as in a J2EE application without OSGi.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/ConnectionManager.java
{
	/** 
	 * volatile modifier is used here to ensure the ConnectionManager, when being constructed by JVM, will be locked
	 * by current thread until the finish of construction.
	 */
	private static volatile ConnectionManager sm_instance = null;
    
    private static final String DTP_CONN_PROFILE_APPL_ID = Constants.CONN_PROFILE_APPL_ID;
	
    
	private static final String sm_className = ConnectionManager.class.getName();
	static final String sm_packageName = ExceptionHandler.sm_packageName;
	private static LogHelper sm_logger = null;
	
	protected ConnectionManager( )
	{
	}
	
	/**
	 * Returns a <code>ConnectionManager</code> instance for getting opened 
	 * <code>Connections</code>.
	 * @return	a <code>ConnectionManager</code> instance.
	 */
	public static ConnectionManager getInstance( )
	{
		final String methodName = "getInstance";		 
		getLogger().entering( sm_className, methodName );
		if( sm_instance == null )