Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BeanUtils.copyProperties

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is org.springframework.beans.BeanUtils.copyProperties threadsafe.

Thanks,
vijay
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that apache BeanUtils is thread-safe.
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vyas,

Any idea about Spring bean util, I see source code but could not find that it is thread safe.

Regards,
Vijay
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If its a static method, it is thread safe. Its unlikely to keep any state is it?
(It could but it would be a very weird design)
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sam Mercs is right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic