Announcement Announcement Module
Collapse
No announcement yet.
Templating the Spring configuration file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Templating the Spring configuration file

    If I remember correctly there is a way to reuse (or template) repeatable sections of the Spring configuration file. For instance if I have a TransactionProxyFactoryBean I have a target which is referenced by another bean and that bean has a DAO that is reference by another bean. This configuration might appear several times in the whole file. Is there a way to make this reduced?

    Regards,

    Mark

  • #2
    Have you checked:
    http://www.springframework.org/docs/...an-definitions

    Comment


    • #3
      That is what I needed. I did not know what terminology to look for.

      Thanks,

      Mark

      Comment


      • #4
        Yes, template ("parent") definitions are the recommended way to do this.

        Rgds
        Rod

        Comment

        Working...
        X