[jboss-dev-forums] [Design of POJO Server] - Locking in DeploymentRepository
alesj
do-not-reply at jboss.com
Fri Mar 6 15:28:34 EST 2009
While fixing JBAS-6330 I saw I need a lock on the HDScanner
as in 5_x we do check for modifications differently.
(multiple profiles, hence multiple urls)
I would need a lock on the HDScanner when Tools want to suspend it.
And then release that lock when they are ready to resume.
The issue is how to impl that, since Tools invocations will call from two diff threads,
and most Lock impls don't support that.
(btw: this should also be fixed in 5_0's SerializableDeploymentRepository).
How do I take a hold of HDScanner's monitor?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215855#4215855
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215855
More information about the jboss-dev-forums
mailing list