Announcement Announcement Module
Collapse
No announcement yet.
Initializing a property in app context to the value obtained from a bean getter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Initializing a property in app context to the value obtained from a bean getter

    I want to initialize the value of a property in the application context to the value obtained from a instance getter methof of some java bean class.

    <bean id="myJavaBean" class="com.package.JavaBean">
    <property name="myValue" value="bean.someValue"/>
    </bean>

    It is possible? How?

    Thanks
    Torsten

  • #2
    Have you had a look at this?
    http://www.springframework.org/docs/...-property-path
    Last edited by karldmoore; Aug 27th, 2007, 02:38 PM.

    Comment

    Working...
    X