Package com.atlassian.crowd.util
Class PluginResourceBundleProvider
java.lang.Object
com.atlassian.crowd.util.PluginResourceBundleProvider
- All Implemented Interfaces:
ResourceBundleProvider
Implementation of
ResourceBundleProvider that looks for resource bundles defined in plugins.- Since:
- v2.7
-
Constructor Summary
ConstructorsConstructorDescriptionPluginResourceBundleProvider(com.atlassian.plugin.PluginAccessor pluginAccessor, Locale locale, com.atlassian.plugin.event.PluginEventManager pluginEventManager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit()voidonPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) voidonPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
-
Constructor Details
-
PluginResourceBundleProvider
public PluginResourceBundleProvider(com.atlassian.plugin.PluginAccessor pluginAccessor, Locale locale, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
-
-
Method Details
-
init
public void init() -
destroy
public void destroy() -
getResourceBundles
- Specified by:
getResourceBundlesin interfaceResourceBundleProvider
-
onPluginEnabled
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) -
onPluginDisabled
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
-