public class DefaultInterceptorMapBuilder extends Object implements InterceptorMapBuilder
Builds interceptor mappings from annotations.
Constructor and Description |
---|
DefaultInterceptorMapBuilder() |
Modifier and Type | Method and Description |
---|---|
List<com.opensymphony.xwork2.config.entities.InterceptorMapping> |
build(Class<?> actionClass,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder,
String actionName,
Action annotation)
Builds the interceptor configurations given the action information.
|
protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> |
build(InterceptorRef[] interceptors,
String actionName,
com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder) |
protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> |
buildInterceptorList(com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder,
InterceptorRef ref,
Map params) |
void |
setConfiguration(com.opensymphony.xwork2.config.Configuration configuration) |
public List<com.opensymphony.xwork2.config.entities.InterceptorMapping> build(Class<?> actionClass, com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder, String actionName, Action annotation)
InterceptorMapBuilder
build
in interface InterceptorMapBuilder
actionClass
- The class of the action.builder
- The package configuration builder.actionName
- The action name.annotation
- The action annotation.protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> build(InterceptorRef[] interceptors, String actionName, com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder)
protected List<com.opensymphony.xwork2.config.entities.InterceptorMapping> buildInterceptorList(com.opensymphony.xwork2.config.entities.PackageConfig.Builder builder, InterceptorRef ref, Map params)
public void setConfiguration(com.opensymphony.xwork2.config.Configuration configuration)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.