Class PluginModuleXmlConfigurationProvider
java.lang.Object
com.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
com.atlassian.confluence.impl.struts.PluginModuleXmlConfigurationProvider
- All Implemented Interfaces:
com.opensymphony.xwork2.config.ConfigurationProvider
,com.opensymphony.xwork2.config.ContainerProvider
,com.opensymphony.xwork2.config.PackageProvider
public class PluginModuleXmlConfigurationProvider
extends com.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
Parses
StrutsModuleDescriptor
derived Document
s for loading by the Struts configuration.- Since:
- 8.0.0
-
Field Summary
Fields inherited from class com.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
allowlistClasses, configuration, declaredPackages, documents, dtdMappings, objectFactory, providerAllowlist, throwExceptionOnDuplicateBeans, valueSubstitutor
-
Constructor Summary
ConstructorsConstructorDescriptionPluginModuleXmlConfigurationProvider
(Document document, com.atlassian.plugin.Plugin plugin, Runnable disableModuleRunnable) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.opensymphony.xwork2.config.entities.ActionConfig
buildActionConfig
(Element actionElement, com.opensymphony.xwork2.util.location.Location location, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext, Map<String, com.opensymphony.xwork2.config.entities.ResultConfig> results) protected com.opensymphony.xwork2.config.entities.InterceptorConfig
buildInterceptorConfig
(Element interceptorElement) protected com.opensymphony.xwork2.config.entities.ResultConfig
buildResultConfig
(String name, com.opensymphony.xwork2.config.entities.ResultTypeConfig config, com.opensymphony.xwork2.util.location.Location location, Map<String, String> params) protected com.opensymphony.xwork2.config.entities.ResultTypeConfig
buildResultTypeConfig
(Element resultTypeElement, com.opensymphony.xwork2.util.location.Location location, String paramName) protected Class<?>
void
void
register
(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder, com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties) Methods inherited from class com.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
addAction, addAllowedMethodsToSet, addPackage, addResultTypes, allowAndLoadClass, buildAllowedMethods, buildExceptionMappings, buildExceptionMappings, buildInterceptorList, buildPackageContext, buildResultParams, buildResults, destroy, getDtdMappings, guessResultType, init, iterateChildren, iterateChildrenByTagName, iterateElementChildren, iterateElementChildren, loadDefaultActionRef, loadDefaultClassRef, loadDefaultInterceptorRef, loadExtraConfiguration, loadGlobalAllowedMethods, loadGlobalExceptionMappings, loadGlobalResults, loadInterceptors, loadInterceptorStack, loadInterceptorStacks, lookupInterceptorReference, needsReload, registerBean, registerBeanSelection, registerConstant, registerUnknownHandlerStack, setDtdMappings, setObjectFactory, setProviderAllowlist, setThrowExceptionOnDuplicateBeans, setValueSubstitutor, verifyAction, verifyAction, verifyInterceptor, verifyResultType
-
Constructor Details
-
PluginModuleXmlConfigurationProvider
-
-
Method Details
-
register
public void register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder, com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties) throws com.opensymphony.xwork2.config.ConfigurationException - Specified by:
register
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Overrides:
register
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
loadPackages
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException- Specified by:
loadPackages
in interfacecom.opensymphony.xwork2.config.PackageProvider
- Overrides:
loadPackages
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
loadClass
- Overrides:
loadClass
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
- Throws:
ClassNotFoundException
-
buildActionConfig
protected com.opensymphony.xwork2.config.entities.ActionConfig buildActionConfig(Element actionElement, com.opensymphony.xwork2.util.location.Location location, com.opensymphony.xwork2.config.entities.PackageConfig.Builder packageContext, Map<String, com.opensymphony.xwork2.config.entities.ResultConfig> results) - Overrides:
buildActionConfig
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-
buildResultTypeConfig
protected com.opensymphony.xwork2.config.entities.ResultTypeConfig buildResultTypeConfig(Element resultTypeElement, com.opensymphony.xwork2.util.location.Location location, String paramName) - Overrides:
buildResultTypeConfig
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-
buildResultConfig
protected com.opensymphony.xwork2.config.entities.ResultConfig buildResultConfig(String name, com.opensymphony.xwork2.config.entities.ResultTypeConfig config, com.opensymphony.xwork2.util.location.Location location, Map<String, String> params) - Overrides:
buildResultConfig
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-
buildInterceptorConfig
protected com.opensymphony.xwork2.config.entities.InterceptorConfig buildInterceptorConfig(Element interceptorElement) - Overrides:
buildInterceptorConfig
in classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-