Class 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
    • Field Summary

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

        container, defaultFrameworkBeanName, loadedFileNames, LOG, packageContexts, runtimeConfiguration, unknownHandlerStack
    • 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 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.