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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginAwareConfiguration(String defaultBeanName)
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Constructor Detail
-
PluginAwareConfiguration
public PluginAwareConfiguration(String defaultBeanName)
-
-
Method Detail
-
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 classcom.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.
-
-