com.opensymphony.xwork2.config.providers
Class InterceptorBuilder
java.lang.Object
com.opensymphony.xwork2.config.providers.InterceptorBuilder
public class InterceptorBuilder
- extends Object
Builds a list of interceptors referenced by the refName in the supplied PackageConfig.
- Version:
- $Date: 2008-06-21 11:29:39 +0200 (Sat, 21 Jun 2008) $ $Id: InterceptorBuilder.java 1833 2008-06-21 09:29:39Z rainerh $
- Author:
- Mike, Rainer Hermanns, tmjee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Logger LOG
InterceptorBuilder
public InterceptorBuilder()
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
- refName
- refParams
-
- Returns:
- list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
- Throws:
ConfigurationException
constructParameterizedInterceptorReferences
private static List<InterceptorMapping> constructParameterizedInterceptorReferences(InterceptorLocator interceptorLocator,
InterceptorStackConfig stackConfig,
Map<String,String> refParams,
ObjectFactory objectFactory)
- Builds a list of interceptors referenced by the refName in the supplied PackageConfig overriding the properties
of the referenced interceptor with refParams.
- Parameters:
interceptorLocator
- stackConfig
- refParams
- The overridden interceptor properies
- Returns:
- list of interceptors referenced by the refName in the supplied PackageConfig overridden with refParams.
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.