[EMAIL PROTECTED] wrote : If I have a POJO that (for example) represents a
service that has a few properties that will be injected, what thread-safety
precautions must I take?
|
It depends on your service. :-)
See what we do below.
[EMAIL PROTECTED] wrote :
| Will the POJO be
OK, that makes sense. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130847#4130847
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4130847
___
jboss-user mailing list
Actually one more question - are the locks held when doing auto-wiring and
injection and that sort of thing? In other words, if I have beans A and B, and
I want a property from A to be injected into B, will the same lock be held that
is used to change states during the injection? I'm
[EMAIL PROTECTED] wrote : Actually one more question - are the locks held
when doing auto-wiring and injection and that sort of thing?
|
Yup, a read lock.
[EMAIL PROTECTED] wrote :
| In other words, if I have beans A and B, and I want a property from A to be
injected into B, will the same