Class XWorkModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<Void>
com.atlassian.bamboo.plugin.xwork.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
  • Constructor Details

    • XWorkModuleDescriptor

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

    • init

      public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.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
    • getModule

      public Void getModule()
      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<Void>
      Overrides:
      getModule in class AbstractBambooModuleDescriptor<Void>
    • 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)