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
 java.util.List<InterceptorMapping> build(java.lang.Class<?> actionClass, PackageConfig.Builder builder, java.lang.String actionName, Action annotation)
          Builds the interceptor configurations given the action information.
 

Method Detail

build

java.util.List<InterceptorMapping> build(java.lang.Class<?> actionClass,
                                         PackageConfig.Builder builder,
                                         java.lang.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-2011 Apache Software Foundation. All Rights Reserved.