File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes BeanUtils.copyProperties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "BeanUtils.copyProperties" Watch "BeanUtils.copyProperties" New topic
Author

BeanUtils.copyProperties

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260

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

Thanks,
vijay
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I know that apache BeanUtils is thread-safe.


===Vyas Sanzgiri===
My Blog
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
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

Joined: Feb 08, 2009
Posts: 597

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)


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Sam Mercs is right.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BeanUtils.copyProperties