Branch: refs/heads/master
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: 958dfa5581c4dc0fea7611ff6fb9ca81c6ca05aa
https://github.com/Teiid-Designer/teiid-designer/commit/958dfa5581c4dc0fe...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2013-10-10 (Thu, 10 Oct 2013)
Changed paths:
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/adapter/TeiidServerAdapterFactory.java
Log Message:
-----------
Fix to allow server adapter to return cleanly while IDE is starting
* The teiid server manager cannot be called on startup due to its init
depending on ServerCore. Since adding this adapter as a trigger point
on the Server tree, it can be called while the IDE has not yet started
and certainly before ServerCore has initialised.
* Let the server adapter return null until the teiid server manager has
been started. Since this adapter is called so often and the server tree
refreshed so frequently it is better to return null rather than creating
a waiting thread.