aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "spring bean property" Watch "spring bean property" New topic
Author

spring bean property

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
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
Greenhorn

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.
 
 
subject: spring bean property