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 Documents 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.ActionConfigbuildActionConfig(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.InterceptorConfigbuildInterceptorConfig(Element interceptorElement) protected com.opensymphony.xwork2.config.entities.ResultConfigbuildResultConfig(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.ResultTypeConfigbuildResultTypeConfig(Element resultTypeElement, com.opensymphony.xwork2.util.location.Location location, String paramName) protected Class<?>voidvoidregister(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:
registerin interfacecom.opensymphony.xwork2.config.ContainerProvider- Overrides:
registerin classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
loadPackages
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException- Specified by:
loadPackagesin interfacecom.opensymphony.xwork2.config.PackageProvider- Overrides:
loadPackagesin classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
loadClass
- Overrides:
loadClassin 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:
buildActionConfigin 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:
buildResultTypeConfigin 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:
buildResultConfigin classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-
buildInterceptorConfig
protected com.opensymphony.xwork2.config.entities.InterceptorConfig buildInterceptorConfig(Element interceptorElement) - Overrides:
buildInterceptorConfigin classcom.opensymphony.xwork2.config.providers.XmlDocConfigurationProvider
-