Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-140

Add IVariableSource and VariablePlaceholderConfigurer allowing property placeholder data to be easily extensible to other data sources.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 P3
    • Fix Version/s: 1.1 M2
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      The PropertyPlaceholderConfigurer currently only reads properties that have been exposed via the IResource abstraction and that subsequently are exposed via XML.

      This is pretty rubbish. The mechanism for replacing placeholders should be distinct from the mechansim of loading the properties that are to be used in the the replacement process.

      This way one could have properties being loaded from a database, a funky file format, a Java style .properties file format, etc.

      This issue was occasioned by a post on the Spring.Java forums btw.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aseovic Aleksandar Seovic
              Reporter:
              springboy Rick Evans
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: