com.atlassian.jira.web.dispatcher
Class PluginsAwareViewMapping

java.lang.Object
  extended by com.atlassian.jira.web.dispatcher.PluginsAwareViewMapping
All Implemented Interfaces:
webwork.dispatcher.ViewMapping

public class PluginsAwareViewMapping
extends Object
implements webwork.dispatcher.ViewMapping

Resolves a mapping from action result code to a particular view that should be used to present the results to the end user.

It delegates the actual handling of webwork plugin module events to PluginsAwareViewMapping.Component

This separate component is necessary because the mapping is instantiated and stored statically by webwork's GenericDispatcher

Since:
v4.4

Nested Class Summary
static class PluginsAwareViewMapping.Component
          A component that reacts to plugin events and clears the current cache of view mappings when webwork plugin module descriptors are enabled / disabled.
 
Constructor Summary
PluginsAwareViewMapping()
           
 
Method Summary
 Object getView(String anActionName, String aViewName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsAwareViewMapping

public PluginsAwareViewMapping()
Method Detail

getView

public Object getView(String anActionName,
                      String aViewName)
Specified by:
getView in interface webwork.dispatcher.ViewMapping


Copyright © 2002-2014 Atlassian. All Rights Reserved.