Class PluginAwareInterceptorFactory
java.lang.Object
org.apache.struts2.factory.DefaultInterceptorFactory
com.atlassian.confluence.impl.struts.PluginAwareInterceptorFactory
- All Implemented Interfaces:
org.apache.struts2.factory.InterceptorFactory
public class PluginAwareInterceptorFactory
extends org.apache.struts2.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 TypeMethodDescriptionorg.apache.struts2.interceptor.Interceptor
buildInterceptor
(org.apache.struts2.config.entities.InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) void
setReflectionProvider
(org.apache.struts2.util.reflection.ReflectionProvider reflectionProvider) Methods inherited from class org.apache.struts2.factory.DefaultInterceptorFactory
setObjectFactory
-
Constructor Details
-
PluginAwareInterceptorFactory
public PluginAwareInterceptorFactory()
-
-
Method Details
-
setReflectionProvider
public void setReflectionProvider(org.apache.struts2.util.reflection.ReflectionProvider reflectionProvider) - Overrides:
setReflectionProvider
in classorg.apache.struts2.factory.DefaultInterceptorFactory
-
buildInterceptor
public org.apache.struts2.interceptor.Interceptor buildInterceptor(org.apache.struts2.config.entities.InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) throws org.apache.struts2.config.ConfigurationException- Specified by:
buildInterceptor
in interfaceorg.apache.struts2.factory.InterceptorFactory
- Overrides:
buildInterceptor
in classorg.apache.struts2.factory.DefaultInterceptorFactory
- Throws:
org.apache.struts2.config.ConfigurationException
-