Class InterceptorBuilder
java.lang.Object
org.apache.struts2.config.providers.InterceptorBuilder
Builds a list of interceptors referenced by the refName in the supplied PackageConfig.
- Author:
- Mike, Rainer Hermanns, tmjee
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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).
-
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 ConfigurationExceptionBuilds a list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).- Parameters:
interceptorLocator
- interceptor locatorrefName
- reference namerefParams
- reference parameterslocation
- locationobjectFactory
- object factory- Returns:
- list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
- Throws:
ConfigurationException
- in case of any configuration errors
-