Class XWorkModuleDescriptor

  • All Implemented Interfaces:
    com.atlassian.plugin.ModuleDescriptor<Void>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, com.opensymphony.xwork2.config.ConfigurationProvider, com.opensymphony.xwork2.config.ContainerProvider, com.opensymphony.xwork2.config.PackageProvider

    public class XWorkModuleDescriptor
    extends AbstractBambooModuleDescriptor<Void>
    implements com.opensymphony.xwork2.config.ConfigurationProvider
    • Field Summary

      • Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

        key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
    • Constructor Summary

      Constructors 
      Constructor Description
      XWorkModuleDescriptor​(com.atlassian.plugin.module.ModuleFactory moduleFactory)  
    • Constructor Detail

      • XWorkModuleDescriptor

        public XWorkModuleDescriptor​(com.atlassian.plugin.module.ModuleFactory moduleFactory)
    • Method Detail

      • init

        public void init​(com.atlassian.plugin.Plugin plugin,
                         org.dom4j.Element moduleElement)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.ModuleDescriptor<Void>
        Overrides:
        init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
        Throws:
        com.atlassian.plugin.PluginParseException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface com.opensymphony.xwork2.config.ContainerProvider
        Specified by:
        destroy in interface com.atlassian.plugin.ModuleDescriptor<Void>
        Overrides:
        destroy in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
      • init

        public void init​(com.opensymphony.xwork2.config.Configuration configuration)
                  throws com.opensymphony.xwork2.config.ConfigurationException
        Specified by:
        init in interface com.opensymphony.xwork2.config.ContainerProvider
        Specified by:
        init in interface com.opensymphony.xwork2.config.PackageProvider
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException
      • register

        public void register​(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
                             com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
                      throws com.opensymphony.xwork2.config.ConfigurationException
        Specified by:
        register in interface com.opensymphony.xwork2.config.ContainerProvider
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException
      • loadPackages

        public void loadPackages()
                          throws com.opensymphony.xwork2.config.ConfigurationException
        Specified by:
        loadPackages in interface com.opensymphony.xwork2.config.PackageProvider
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException
      • needsReload

        public boolean needsReload()
        Specified by:
        needsReload in interface com.opensymphony.xwork2.config.ContainerProvider
        Specified by:
        needsReload in interface com.opensymphony.xwork2.config.PackageProvider
      • setObjectFactory

        public void setObjectFactory​(com.opensymphony.xwork2.ObjectFactory objectFactory)