Announcement Announcement Module
Collapse
No announcement yet.
Class or bean ref from property file? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Class or bean ref from property file?

    Is there a way to specify the class= attribute of the <bean> tag or the bean= attribute of the <ref> tag with a value from a property file? I have only been able to make PropertyPlaceholderConfigurer work in the case that the <property> tag uses the <value> tag. Or is there another way to accomplish the same thing? Thx.

  • #2
    Hmm, I think the only way to achieve this is to supply the class name as string to a factory. Any suggestions still appreciated. Thx.

    Comment


    • #3
      take a look at the following thread PropertyPlaceholderConfigurer for bean class
      HTH
      Last edited by robyn; May 14th, 2006, 11:07 AM.

      Comment

      Working...
      X