Results 1 to 2 of 2

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

Hybrid View

  1. #1

    Default 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. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Last edited by karldmoore; Aug 27th, 2007 at 02:38 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

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