On 3/17/09 3:59 PM, João Ferreira wrote:
Hello again
I managed to do the isolation i pretended. The lock that was acquired
was a BundleImpl lock that was associated with the thread that owned
the lock. I just swaped that thread reference with my thread, waited
for my thread to stop and swaped the thread reference back to the old
thread.
Now running Felix with the following bundles:
My next step is to do a proper isolation of the bundles that use the
http service since i want to monitor the cpu usage of the different
web applications deployed in the web service bundle.
Looks interesting. I am still not certain if you will get exactly what
you want without breaking anything, but it is a start.
Richard u said that:
Of course, you are making an assumption that all thread creation
happens in the activator, but it may not.
could u give me an example plz?
How about getting a Swing callback into my bundle, which causes the
bundle to start a thread? Can you control the thread group of the Swing
event thread?
-> richard
Thanks in advance
João Ferreira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]