com.atlassian.confluence.plugin.descriptor
Class PluginConfigurationProvider

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.PluginConfigurationProvider
All Implemented Interfaces:
ConfigurationProvider

public class PluginConfigurationProvider
extends Object
implements ConfigurationProvider

A custom xwork configuration provider that loads the configuration out of the plugins module descriptor.


Constructor Summary
PluginConfigurationProvider(List packages)
          A list of PackageConfig instances.
 
Method Summary
 void destroy()
           
 void init(Configuration configuration)
           
 boolean isPluginEnabled()
           
 boolean needsReload()
           
 void setPluginEnabled(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginConfigurationProvider

public PluginConfigurationProvider(List packages)
A list of PackageConfig instances.

Parameters:
packages -
Method Detail

setPluginEnabled

public void setPluginEnabled(boolean b)

isPluginEnabled

public boolean isPluginEnabled()

destroy

public void destroy()
Specified by:
destroy in interface ConfigurationProvider

init

public void init(Configuration configuration)
          throws ConfigurationException
Specified by:
init in interface ConfigurationProvider
Throws:
ConfigurationException

needsReload

public boolean needsReload()
Specified by:
needsReload in interface ConfigurationProvider


Confluence is developed by Atlassian.