Class CachingViewMapping

java.lang.Object
webwork.dispatcher.CachingViewMapping
All Implemented Interfaces:
ViewMapping

public class CachingViewMapping extends Object implements ViewMapping
Caching view mapping. This mapping only delegates to other mapping implementations, and will cache the result so that subsequent mappings for the same actionName/viewName tuple is retrieved from this cache instead. Do not use this if you want to be able to update the mappings at runtime.
Version:
$Revision: 1.5 $
Author:
Rickard Öberg (rickard@middleware-company.com)
  • Field Details

    • delegate

      protected ViewMapping delegate
    • cache

      protected Map cache
    • NULL_VIEW

      protected final Object NULL_VIEW
  • Constructor Details

    • CachingViewMapping

      public CachingViewMapping(ViewMapping aDelegate)
  • Method Details