Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-123

Ability to flush internal caches

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core Runtime
    • None

    Description

      OgnlRuntime, for example, has a number of static cache maps, but unfortunately, there is no way to flush them. This becomes a problem if, say, you wanted to change a propertyaccessor. Say you registered Foo as a property accessor for java.util.Map, and it later processed HashMap and the internal cache updated itself so HashMap would directly map to Foo. Then, you wanted to change the property accessor for Map, but in order to do that, you'd have to change it for every possible implementation of Map, including HashMap, which obviously isn't really feasible. Flushing the caches would be an easy way to solve this.

      Attachments

        Issue Links

          Activity

            People

              jkuhnert Jesse Kuhnert
              mrdon Donald J. Brown
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: