Class PluginAwareInterceptorFactory
java.lang.Object
com.opensymphony.xwork2.factory.DefaultInterceptorFactory
com.atlassian.confluence.impl.struts.PluginAwareInterceptorFactory
- All Implemented Interfaces:
com.opensymphony.xwork2.factory.InterceptorFactory
public class PluginAwareInterceptorFactory
extends com.opensymphony.xwork2.factory.DefaultInterceptorFactory
A specialisation of the standard Struts
DefaultInterceptorFactory
which adds special handling for
PluginAwareInterceptorConfig
, and which delegates loading of the Interceptor class from the relevant Plugin
.- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.opensymphony.xwork2.interceptor.Interceptor
buildInterceptor
(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) void
setReflectionProvider
(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider) Methods inherited from class com.opensymphony.xwork2.factory.DefaultInterceptorFactory
setObjectFactory
-
Constructor Details
-
PluginAwareInterceptorFactory
public PluginAwareInterceptorFactory()
-
-
Method Details
-
setReflectionProvider
public void setReflectionProvider(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider) - Overrides:
setReflectionProvider
in classcom.opensymphony.xwork2.factory.DefaultInterceptorFactory
-
buildInterceptor
public com.opensymphony.xwork2.interceptor.Interceptor buildInterceptor(com.opensymphony.xwork2.config.entities.InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) throws com.opensymphony.xwork2.config.ConfigurationException- Specified by:
buildInterceptor
in interfacecom.opensymphony.xwork2.factory.InterceptorFactory
- Overrides:
buildInterceptor
in classcom.opensymphony.xwork2.factory.DefaultInterceptorFactory
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-