Package org.apache.struts2.config.providers

# 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 Summary

  Constructors
  Constructor
  Description
  `InterceptorBuilder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static List<InterceptorMapping>`
  `constructInterceptorReference(InterceptorLocator interceptorLocator, String refName, Map<String,String> refParams, Location location, ObjectFactory objectFactory)`
  Builds a list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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