Class 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 Detail

      • PluginAwareInterceptorFactory

        public PluginAwareInterceptorFactory()
    • Method Detail

      • setReflectionProvider

        public void setReflectionProvider​(com.opensymphony.xwork2.util.reflection.ReflectionProvider reflectionProvider)
        Overrides:
        setReflectionProvider in class com.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 interface com.opensymphony.xwork2.factory.InterceptorFactory
        Overrides:
        buildInterceptor in class com.opensymphony.xwork2.factory.DefaultInterceptorFactory
        Throws:
        com.opensymphony.xwork2.config.ConfigurationException