com.atlassian.confluence.plugin.descriptor
Class PluginConfigurationProvider
java.lang.Object
com.atlassian.confluence.plugin.descriptor.PluginConfigurationProvider
- All Implemented Interfaces:
- com.opensymphony.xwork.config.ConfigurationProvider
public class PluginConfigurationProvider
- extends Object
- implements com.opensymphony.xwork.config.ConfigurationProvider
A custom xwork configuration provider that loads the configuration out of the plugins module descriptor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginConfigurationProvider
public PluginConfigurationProvider(List packages)
- A list of PackageConfig instances.
- Parameters:
packages
-
setPluginEnabled
public void setPluginEnabled(boolean b)
isPluginEnabled
public boolean isPluginEnabled()
destroy
public void destroy()
- Specified by:
destroy
in interface com.opensymphony.xwork.config.ConfigurationProvider
init
public void init(com.opensymphony.xwork.config.Configuration configuration)
throws com.opensymphony.xwork.config.ConfigurationException
- Specified by:
init
in interface com.opensymphony.xwork.config.ConfigurationProvider
- Throws:
com.opensymphony.xwork.config.ConfigurationException
needsReload
public boolean needsReload()
- Specified by:
needsReload
in interface com.opensymphony.xwork.config.ConfigurationProvider