Interface InterceptorMapBuilder

All Known Implementing Classes:
DefaultInterceptorMapBuilder

public interface InterceptorMapBuilder

This interface defines how interceptors are built from annotations.

  • Method Summary

    Modifier and Type
    Method
    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.
  • Method Details

    • 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.