Results 1 to 2 of 2

Thread: Set property values at runtime?

  1. #1

    Default Set property values at runtime?

    Newbie question: Is there any way to use runtime properties when setting up the Spring configuration file? At a minimum, I'd like to be able to pass in a value on the command line and have it be passed to a bean.

    Thanks.

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    I think that this has already been discussed in this thread OS Environment variables for Property Placeholders

    HTH
    Last edited by robyn; May 14th, 2006 at 10:20 AM.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

Similar Threads

  1. ERROR: Context initialization failed
    By makhlo in forum Architecture
    Replies: 8
    Last Post: Jul 11th, 2008, 01:41 AM
  2. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 4
    Last Post: Aug 17th, 2005, 04:42 AM
  5. Replies: 2
    Last Post: May 13th, 2005, 05:42 AM

Posting Permissions

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