com.atlassian.crowd.plugin.descriptors.webwork
Class PluginAwareConfiguration
java.lang.Object
com.opensymphony.xwork.config.impl.DefaultConfiguration
com.atlassian.crowd.plugin.descriptors.webwork.PluginAwareConfiguration
- All Implemented Interfaces:
- com.opensymphony.xwork.config.Configuration
public class PluginAwareConfiguration
- extends com.opensymphony.xwork.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.
Fields inherited from class com.opensymphony.xwork.config.impl.DefaultConfiguration |
LOG, runtimeConfiguration |
Method Summary |
protected com.opensymphony.xwork.config.RuntimeConfiguration |
buildRuntimeConfiguration()
|
protected com.opensymphony.xwork.config.entities.ActionConfig |
createActionConfig(com.opensymphony.xwork.config.entities.ActionConfig baseConfig,
Map params,
Map results,
List interceptors,
List externalRefs,
List exceptionMappings,
String packageName)
Create an ActionConfig from a base ActionConfig and supplied
configuration parameters. |
Methods inherited from class com.opensymphony.xwork.config.impl.DefaultConfiguration |
addPackageConfig, destroy, getPackageConfig, getPackageConfigNames, getPackageConfigs, getRuntimeConfiguration, rebuildRuntimeConfiguration, reload, removePackageConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginAwareConfiguration
public PluginAwareConfiguration()
createActionConfig
protected com.opensymphony.xwork.config.entities.ActionConfig createActionConfig(com.opensymphony.xwork.config.entities.ActionConfig baseConfig,
Map params,
Map results,
List interceptors,
List externalRefs,
List exceptionMappings,
String packageName)
- Create an ActionConfig from a base ActionConfig and supplied
configuration parameters.
This method ensures that base PluginAwareActionConfig's are
created as PluginAwareActionConfigs.
- Parameters:
baseConfig
- base configuration object. If this object is
an instance of PluginAwareActionConfig, a PluginAwareActionConfig
will be returned.params
- config params.results
- config results.interceptors
- config interceptors.externalRefs
- config externalRefs.exceptionMappings
- config exceptionMappings.packageName
- config packageName.
- Returns:
- ActionConfig generated from config parameters.
buildRuntimeConfiguration
protected com.opensymphony.xwork.config.RuntimeConfiguration buildRuntimeConfiguration()
throws com.opensymphony.xwork.config.ConfigurationException
- Overrides:
buildRuntimeConfiguration
in class com.opensymphony.xwork.config.impl.DefaultConfiguration
- Throws:
com.opensymphony.xwork.config.ConfigurationException
Copyright © 2013 Atlassian. All Rights Reserved.