Results 1 to 3 of 3

Thread: Property value set as result of a method?

  1. #1
    Join Date
    Oct 2004
    Location
    Switzerland
    Posts
    45

    Default 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. #2
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

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

    for MethodInvokingFactoryBean

  3. #3
    Join Date
    Oct 2004
    Location
    Switzerland
    Posts
    45

    Default

    Thanks for the hint.

    It's working fine.

    Pieper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •