Announcement Announcement Module
Collapse
No announcement yet.
Property value set as result of a method? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Property value set as result of a method?

    Hi all,


    is it possible to set a property value for a bean as a result of a (static) method?

    Code:
    <bean id="testBean" class="test.bean">
    	<property name="testProp" ref="RESULT OF METHOD"/>
    </bean>
    Pieper

  • #2
    Please see ref doc:
    http://static.springframework.org/sp...s.html#d0e2351

    for MethodInvokingFactoryBean

    Comment


    • #3
      Thanks for the hint.

      It's working fine.

      Pieper

      Comment

      Working...
      X