Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-541

only possible to use one StringResourceLoader per application

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None

      Description

      When multiple StringResourceLoaders are initialized, the later ones are blowing up. StringResourceLoader uses a static RepositoryFactory. Unfortunately, this means that you can really only have one StringResourceLoader per classloader. This poses significant issues for anyone using multiple engines w/StringResourceLoader and could be come a major issue if any other frameworks or components adopt use of the StringResourceLoader (e.g. i'm planning to use this for a VelocityViewTag in Tools 2.x). They'll stomp all over each other in many ways. This is bad.

        Attachments

          Activity

            People

            • Assignee:
              nbubna Nathan Bubna
              Reporter:
              nbubna Nathan Bubna
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: