public class PluginAwareConfiguration
extends com.opensymphony.xwork2.config.impl.DefaultConfiguration
This class is essentially a copy of the DefaultConfiguration class, except that it creates PluginAwareActionConfig objects when required, when rebuilding the runtime configuration.
Constructor and Description |
---|
PluginAwareConfiguration(String defaultBeanName) |
Modifier and Type | Method and 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.
|
addPackageConfig, buildRuntimeConfiguration, createBootstrapContainer, destroy, getContainer, getLoadedFileNames, getPackageConfig, getPackageConfigNames, getPackageConfigs, getRuntimeConfiguration, getUnknownHandlerStack, rebuildRuntimeConfiguration, reloadContainer, removePackageConfig, setContext, setUnknownHandlerStack
public PluginAwareConfiguration(String defaultBeanName)
protected com.opensymphony.xwork2.config.entities.ActionConfig newActionConfig(com.opensymphony.xwork2.config.entities.ActionConfig baseConfig, com.opensymphony.xwork2.config.entities.ActionConfig.Builder builder)
This method ensures that base PluginAwareActionConfig's are created as PluginAwareActionConfigs.
newActionConfig
in class com.opensymphony.xwork2.config.impl.DefaultConfiguration
baseConfig
- base configuration object. If this object is an instance of PluginAwareActionConfig, a
PluginAwareActionConfig will be returned.Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.