Class PluginAwareStrutsDispatcher

java.lang.Object
org.apache.struts2.dispatcher.Dispatcher
com.atlassian.bamboo.plugin.xwork.PluginAwareStrutsDispatcher

public class PluginAwareStrutsDispatcher extends org.apache.struts2.dispatcher.Dispatcher
A Struts dispatcher to hook in the plugin-aware configuration. Before Bamboo 11.0, this configuration was done in StrutsSupport via Dispatcher.setConfigurationManagerFactory(PluginAwareConfigurationManagerFactory.INSTANCE). With Struts 6, we do it by extending the default Dispatcher.
Since:
11.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.struts2.dispatcher.Dispatcher

    org.apache.struts2.dispatcher.Dispatcher.Locator
  • Field Summary

    Fields inherited from class org.apache.struts2.dispatcher.Dispatcher

    configurationManager, initParams, MULTIPART_FORM_DATA_REGEX, REQUEST_POST_METHOD, servletContext
  • Constructor Summary

    Constructors
    Constructor
    Description
    PluginAwareStrutsDispatcher(javax.servlet.ServletContext servletContext, Map<String,String> initParams)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.opensymphony.xwork2.config.ConfigurationManager
     

    Methods inherited from class org.apache.struts2.dispatcher.Dispatcher

    addDispatcherListener, cleanup, cleanUpAfterInit, cleanUpRequest, clearInstance, createActionProxy, createContextMap, createContextMap, createJavaConfigurationProvider, createStrutsXmlConfigurationProvider, createStrutsXmlConfigurationProvider, getActionExcludedPatterns, getActionMapper, getActionProxyFactory, getConfigurationManager, getContainer, getInstance, getInstance, getLocale, getMultiPartRequest, getSaveDir, getStaticContentLoader, getValueStackFactory, init, isDevMode, isHandleException, isMultipartRequest, isMultipartSupportEnabled, isSameAction, logConfigurationException, prepare, prepareActionProxy, removeDispatcherListener, sendError, serviceAction, setActionExcludedPatterns, setActionExcludedPatternsSeparator, setActionMapper, setActionProxyFactory, setDefaultEncoding, setDefaultLocale, setDevMode, setDisableRequestAttributeValueStackLookup, setDispatcherErrorHandler, setDispatchersParametersWorkaround, setHandleException, setInstance, setLocaleProviderFactory, setMultipartHandler, setMultipartSaveDir, setMultipartSupportEnabled, setMultipartValidationRegex, setObjectFactory, setStaticContentLoader, setThreadAllowlist, setValueStackFactory, wrapRequest

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PluginAwareStrutsDispatcher

      public PluginAwareStrutsDispatcher(javax.servlet.ServletContext servletContext, Map<String,String> initParams)
      Constructor.
      Parameters:
      servletContext - Our servlet context
      initParams - The set of initialization parameters
  • Method Details

    • createConfigurationManager

      protected com.opensymphony.xwork2.config.ConfigurationManager createConfigurationManager(String name)
      Overrides:
      createConfigurationManager in class org.apache.struts2.dispatcher.Dispatcher