Cookie Notice

public class

CachingViewMapping

extends Object
implements ViewMapping
java.lang.Object
   ↳ webwork.dispatcher.CachingViewMapping

Class Overview

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.

Summary

Fields
protected final Object NULL_VIEW
protected Map cache
protected ViewMapping delegate
Public Constructors
CachingViewMapping(ViewMapping aDelegate)
Public Methods
Object getView(String anActionName, String aViewName)
Get view corresponding to given action and view names
[Expand]
Inherited Methods
From class java.lang.Object
From interface webwork.dispatcher.ViewMapping

Fields

protected final Object NULL_VIEW

protected Map cache

protected ViewMapping delegate

Public Constructors

public CachingViewMapping (ViewMapping aDelegate)

Public Methods

public Object getView (String anActionName, String aViewName)

Get view corresponding to given action and view names

Feedback?
View cookie preferences