This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
 
jQuery in Action, 2nd edition
 
subject: spring bean property
 
Similar Threads
How to access a bean in a web application
where is the pointcut in this example
exceptions in spring configuration file.
Spring 2.5 with Hibernate 3.0 error when creating dataSource for Hibernate SessionFactory
dependency injection by annotations