org.apache.struts2.convention
Interface InterceptorMapBuilder

All Known Implementing Classes:
DefaultInterceptorMapBuilder

public interface InterceptorMapBuilder

This interface defines how interceptors are built from annotations.


Method Summary
 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.
 

Method Detail

build

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.

Parameters:
actionClass - The class of the action.
annotation - The action annotation.
actionName - The action name.
builder - The package configuration builder.
Returns:
The mapping of the interceptors. If there were none found then this should return an empty List.


Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.