Class InterceptorBuilder

java.lang.Object
org.apache.struts2.config.providers.InterceptorBuilder

public class InterceptorBuilder extends Object
Builds a list of interceptors referenced by the refName in the supplied PackageConfig.
Author:
Mike, Rainer Hermanns, tmjee
  • Constructor Details

    • InterceptorBuilder

      public InterceptorBuilder()
  • Method Details

    • constructInterceptorReference

      public static List<InterceptorMapping> constructInterceptorReference(InterceptorLocator interceptorLocator, String refName, Map<String,String> refParams, Location location, ObjectFactory objectFactory) throws ConfigurationException
      Builds a list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
      Parameters:
      interceptorLocator - interceptor locator
      refName - reference name
      refParams - reference parameters
      location - location
      objectFactory - object factory
      Returns:
      list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
      Throws:
      ConfigurationException - in case of any configuration errors