Class PluginAwareConfiguration

java.lang.Object
com.opensymphony.xwork2.config.impl.DefaultConfiguration
com.atlassian.bamboo.plugin.xwork.PluginAwareConfiguration
All Implemented Interfaces:
com.opensymphony.xwork2.config.Configuration, Serializable

public class PluginAwareConfiguration extends com.opensymphony.xwork2.config.impl.DefaultConfiguration
An XWork Configuration implementation that allows for PluginAware XWork actions.

This class is essentially a copy of the DefaultConfiguration class, except that it creates PluginAwareActionConfig objects when required, when rebuilding the runtime configuration.

See Also:
  • Field Summary

    Fields inherited from class com.opensymphony.xwork2.config.impl.DefaultConfiguration

    container, defaultFrameworkBeanName, loadedFileNames, LOG, packageContexts, runtimeConfiguration, unknownHandlerStack
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.opensymphony.xwork2.config.entities.ActionConfig
    newActionConfig(com.opensymphony.xwork2.config.entities.ActionConfig baseConfig, com.opensymphony.xwork2.config.entities.ActionConfig.Builder builder)
    Create an ActionConfig from a base ActionConfig and supplied configuration parameters.

    Methods inherited from class com.opensymphony.xwork2.config.impl.DefaultConfiguration

    addPackageConfig, buildRuntimeConfiguration, createBootstrapContainer, destroy, getContainer, getLoadedFileNames, getPackageConfig, getPackageConfigNames, getPackageConfigs, getRuntimeConfiguration, getUnknownHandlerStack, rebuildRuntimeConfiguration, reloadContainer, removePackageConfig, setContext, setUnknownHandlerStack

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PluginAwareConfiguration

      public PluginAwareConfiguration(String defaultBeanName)
  • Method Details

    • newActionConfig

      protected com.opensymphony.xwork2.config.entities.ActionConfig newActionConfig(com.opensymphony.xwork2.config.entities.ActionConfig baseConfig, com.opensymphony.xwork2.config.entities.ActionConfig.Builder builder)
      Create an ActionConfig from a base ActionConfig and supplied configuration parameters.

      This method ensures that base PluginAwareActionConfig's are created as PluginAwareActionConfigs.

      Overrides:
      newActionConfig in class com.opensymphony.xwork2.config.impl.DefaultConfiguration
      Parameters:
      baseConfig - base configuration object. If this object is an instance of PluginAwareActionConfig, a PluginAwareActionConfig will be returned.
      Returns:
      ActionConfig generated from config parameters.