public class PluginResourceBundleProvider extends Object implements ResourceBundleProvider
ResourceBundleProvider
that looks for resource bundles defined in plugins.Constructor and Description |
---|
PluginResourceBundleProvider(com.atlassian.plugin.PluginAccessor pluginAccessor,
Locale locale,
com.atlassian.plugin.event.PluginEventManager pluginEventManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Iterable<ResourceBundle> |
getResourceBundles() |
void |
init() |
void |
onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) |
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) |
public PluginResourceBundleProvider(com.atlassian.plugin.PluginAccessor pluginAccessor, Locale locale, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
public void init()
public void destroy()
public Iterable<ResourceBundle> getResourceBundles()
getResourceBundles
in interface ResourceBundleProvider
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
Copyright © 2020 Atlassian. All rights reserved.