Class BambooConfigurationProvider

java.lang.Object
com.atlassian.bamboo.webwork.BambooConfigurationProvider
All Implemented Interfaces:
com.opensymphony.xwork2.config.ConfigurationProvider, com.opensymphony.xwork2.config.ContainerProvider, com.opensymphony.xwork2.config.PackageProvider

public class BambooConfigurationProvider extends Object implements com.opensymphony.xwork2.config.ConfigurationProvider
Struts 6 injects properties such as struts.multipart.saveDir and can overwrite explicit call to setter, but if we add a configuration provider that sets the properties in the main struts config, it all works.
  • Field Details

  • Method Details

    • 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
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.opensymphony.xwork2.config.ContainerProvider
    • needsReload

      public boolean needsReload()
      Specified by:
      needsReload in interface com.opensymphony.xwork2.config.ContainerProvider
      Specified by:
      needsReload in interface com.opensymphony.xwork2.config.PackageProvider
    • 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
    • register

      public void register(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props) throws com.opensymphony.xwork2.config.ConfigurationException
      Specified by:
      register in interface com.opensymphony.xwork2.config.ContainerProvider
      Throws:
      com.opensymphony.xwork2.config.ConfigurationException