com.atlassian.jira.web.dispatcher
Class PluginsAwareViewMapping.Component

java.lang.Object
  extended by com.atlassian.jira.web.dispatcher.PluginsAwareViewMapping.Component
All Implemented Interfaces:
Startable, webwork.dispatcher.ViewMapping
Enclosing class:
PluginsAwareViewMapping

public static class PluginsAwareViewMapping.Component
extends Object
implements webwork.dispatcher.ViewMapping, Startable

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.Component(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 Object getView(String anActionName, String aViewName)
           
 void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsAwareViewMapping.Component

public PluginsAwareViewMapping.Component(com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.

getView

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

onPluginModuleDisabled

@EventListener
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)


Copyright © 2002-2012 Atlassian. All Rights Reserved.