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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
PluginAwareConfiguration
-
-
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 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.
-