Class 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.
    • 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 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