PDA

View Full Version : A questions on storing parameters in the applicationContext


Loumeister
Sep 23rd, 2004, 04:25 PM
Could someone point me to assistance on being able to pass in fixed parameters into a method call? Basically, I want to prevent hard-coding in my code and instead pass in the constants I need in an object array which you be one of the parameters of the method that would use them.

Thanks,
Lou

jbetancourt
Sep 23rd, 2004, 05:03 PM
There is this: 3.14. Setting a bean property as the result of a method invocation

in the reference. http://www.springframework.org/docs/reference/beans.html#d0e1955