Hi ULC Team,

I try to use the ULCProgressPane framework in our application to visualize
the progress of long running database processes.

In the asynchronous Execute() of the AsynchronousTestTask I have to get the
DB Connection with ApplicationContext.getAttribute("connection").

This statement fails, because the asynchronous thread has no
ApplicationContext.

is there a way to have access from the slave thread to the
ApplicationContext of his parent ?
or is there a way to create an ApplicationContext in the slave thread, where
I can store my DB Connection ?

ULC version: ULC2008

Many thanks for your help
Martin


Martin Christen
 
Carrier Call GmbH
Talbachweg 10
5107 Schinznach-Dorf
 
t:    +41 56 443 4100
f:    +41 56 443 4104 
m:  +41 79 222 70 50
 
e:   [email protected] <mailto:[email protected]> 
w:   www.carriercall.com

Reply via email to