Jetspeed 2
  1. Jetspeed 2
  2. JS2-945

Provide PortletApplication and PortletDefinition ResourceBundle lookup and caching from the PortletFactory


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Container, Portlet Registry
    • Labels:


      Currently PortletDefinitionImpl provides the lookup and caching of its ResourceBundles itself.
      But as this is classloader specific and thereby dependent on the PortletApplication instance, the caching of ResourceBundles should not be done on the PortletDefinitionImpl itself but by the PortletFactory which registers and manages the PortletApplication classloaders.

      Furthermore, if we want to move to JPA based persistence, PortletDefinition instances are recreated on the fly (even if coming from the cache), so its clearly not a good location to maintain caches of whatever kind.

      Finally, the Portlet 2.0 spec added ResourceBundle support on PortletApplication level as well.
      The OM has been updated for that, but not yet the persistence (database) model.
      The lookup and caching of these ResourceBundles will also be provided by the PortletFactory (which class name now becomes a little outdated ...)


        Ate Douma created issue -
        Ate Douma made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8h 49m 1 Ate Douma 30/Mar/09 10:01
        Resolved Resolved Closed Closed
        918d 12h 6m 1 Ate Douma 04/Oct/11 22:08


          • Assignee:
            Ate Douma
            Ate Douma
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: