0 Replies Latest reply on Dec 1, 2009 10:48 PM by vc5

    how to reference File resource in component descriptor?

    vc5

      hihi all,


      how can i reference/declare a file resource in the components.xml descriptor file?


      i am trying to use descriptor to declare a component that needs a org.springframework.core.io.Resource property (not a .properties file, but an xml resource file the object needs)


      also, how do i pass constructor parameters?  if an object i want to instantiate has a constructor that takes several arguments, how do i do this in components.xml?  (i noticed there's only a


      <property>



      field but no constructor parameter attributes/options)


      tia,
      -v