public class DefaultAutowireCapableWebworkActionRegistry extends Object implements AutowireCapableWebworkActionRegistry
Constructor and Description |
---|
DefaultAutowireCapableWebworkActionRegistry() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAction(String action)
Checks if the registry contains an entry for a particular action.
|
com.atlassian.plugin.module.ContainerManagedPlugin |
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.
|
public DefaultAutowireCapableWebworkActionRegistry()
public void registerAction(String action, com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
AutowireCapableWebworkActionRegistry
registerAction
in interface AutowireCapableWebworkActionRegistry
action
- The action classmoduleDescriptor
- The plugin module in which the action lives.public void unregisterPluginModule(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
AutowireCapableWebworkActionRegistry
unregisterPluginModule
in interface AutowireCapableWebworkActionRegistry
moduleDescriptor
- The plugin module which will be unregisteredpublic com.atlassian.plugin.module.ContainerManagedPlugin getPlugin(String action)
AutowireCapableWebworkActionRegistry
getPlugin
in interface AutowireCapableWebworkActionRegistry
action
- The action class being instantiatedpublic boolean containsAction(String action)
AutowireCapableWebworkActionRegistry
containsAction
in interface AutowireCapableWebworkActionRegistry
action
- The action class to check forCopyright © 2002-2018 Atlassian. All Rights Reserved.