File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes spring bean property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "spring bean property" Watch "spring bean property" New topic

spring bean property

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
In spring application context file,how to get value of bean property and assign it to other bean's property

class a {
Int j;

class b{

int k;
[ July 29, 2008: Message edited by: jacob deiter ]
Sergey Chunayev

Joined: Jan 24, 2008
Posts: 6
I'm not sure if it's possible. Spring allows you to inject values into your bean at the time of creation of this bean. But you can not get or read values of bean's properties there.
I agree. Here's the link:
subject: spring bean property
It's not a secret anymore!