|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutowireCapableWebworkActionRegistry
Registry to link all webwork actions defined in plugins2 osgi bundles to their plugin. This is necessary since when
the action gets instantiated in the JiraActionFactory
it needs to be
auto-wired via the plugin.
Method Summary | |
---|---|
boolean |
containsAction(String action)
Checks if the registry contains an entry for a particular action. |
com.atlassian.plugin.AutowireCapablePlugin |
getPlugin(String action)
Gets the Plugin registered for a particular action. |
void |
registerAction(String action,
com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
Register the action class (simple class name) to its Plugin. |
void |
unregisterPluginModule(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
Unregister all actions for a plugin. |
Method Detail |
---|
void registerAction(String action, com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
action
- The action classmoduleDescriptor
- The plugin module in which the action lives.void unregisterPluginModule(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
moduleDescriptor
- The plugin module which will be unregisteredcom.atlassian.plugin.AutowireCapablePlugin getPlugin(String action)
action
- The action class being instantiated
boolean containsAction(String action)
action
- The action class to check for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |