Package org.apache.struts2.convention
Class DefaultInterceptorMapBuilder
java.lang.Object
org.apache.struts2.convention.DefaultInterceptorMapBuilder
- All Implemented Interfaces:
- InterceptorMapBuilder
Builds interceptor mappings from annotations.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation) Builds the interceptor configurations given the action information.protected List<InterceptorMapping>build(InterceptorRef[] interceptors, String actionName, PackageConfig.Builder builder) protected List<InterceptorMapping>buildInterceptorList(PackageConfig.Builder builder, InterceptorRef ref, Map params) voidsetConfiguration(Configuration configuration) 
- 
Constructor Details- 
DefaultInterceptorMapBuilderpublic DefaultInterceptorMapBuilder()
 
- 
- 
Method Details- 
buildpublic List<InterceptorMapping> build(Class<?> actionClass, PackageConfig.Builder builder, String actionName, Action annotation) Description copied from interface:InterceptorMapBuilderBuilds the interceptor configurations given the action information.- Specified by:
- buildin 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.
 
- 
buildprotected List<InterceptorMapping> build(InterceptorRef[] interceptors, String actionName, PackageConfig.Builder builder) 
- 
buildInterceptorListprotected List<InterceptorMapping> buildInterceptorList(PackageConfig.Builder builder, InterceptorRef ref, Map params) 
- 
setConfiguration
 
-