org.apache.struts2.convention
Class DefaultInterceptorMapBuilder
java.lang.Object
org.apache.struts2.convention.DefaultInterceptorMapBuilder
- All Implemented Interfaces:
- InterceptorMapBuilder
public class DefaultInterceptorMapBuilder
- extends java.lang.Object
- implements InterceptorMapBuilder
Builds interceptor mappings from annotations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultInterceptorMapBuilder
public DefaultInterceptorMapBuilder()
build
public java.util.List<InterceptorMapping> build(java.lang.Class<?> actionClass,
PackageConfig.Builder builder,
java.lang.String actionName,
Action annotation)
- Description copied from interface:
InterceptorMapBuilder
- Builds the interceptor configurations given the action information.
- Specified by:
build
in interface InterceptorMapBuilder
- Parameters:
actionClass
- The class of the action.builder
- The package configuration builder.actionName
- The action name.annotation
- The action annotation.
- Returns:
- The mapping of the interceptors. If there were none found
then this should return an empty List.
build
protected java.util.List<InterceptorMapping> build(InterceptorRef[] interceptors,
java.lang.String actionName,
PackageConfig.Builder builder)
buildInterceptorList
protected java.util.List<InterceptorMapping> buildInterceptorList(PackageConfig.Builder builder,
InterceptorRef ref,
java.util.Map params)
setConfiguration
public void setConfiguration(Configuration configuration)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.