This is an automated email from the ASF dual-hosted git repository. kusal pushed a commit to branch revert-229-WW-5391-velocity-ext in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit 495664a21353563547e80a23c96431b938048f1e Author: Kusal Kithul-Godage <git...@kusal.io> AuthorDate: Fri Aug 2 20:01:15 2024 +1000 Revert "WW-5391 Update VelocityManager extension interface" --- source/plugins/plugins-architecture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plugins/plugins-architecture.md b/source/plugins/plugins-architecture.md index 75f4210a8..3d0f30905 100644 --- a/source/plugins/plugins-architecture.md +++ b/source/plugins/plugins-architecture.md @@ -80,7 +80,7 @@ The following extension points are available in Struts 2: | struts.mapper.class | Determines the ActionMapping from a request and a URI from an ActionMapping | singleton | org.apache.struts2.dispatcher.mapper.ActionMapper | | struts.multipart.parser | Parses a multipart request (file upload) | per request | org.apache.struts2.dispatcher.multipart.MultiPartRequest | | struts.freemarker.manager.classname | Loads and processes Freemarker templates | singleton | org.apache.struts2.views.freemarker.FreemarkerManager | -| struts.velocity.manager.classname | Loads and processes Velocity templates | singleton | org.apache.struts2.views.velocity.VelocityManagerInterface | +| struts.velocity.manager.classname | Loads and processes Velocity templates | singleton | org.apache.struts2.views.velocity.VelocityManager | | struts.actionValidatorManager | Main interface for validation managers (regular and annotation based). Handles both the loading of configuration and the actual validation (since 2.1) | singleton | com.opensymphony.xwork2.validator.ActionValidatorManager | | struts.valueStackFactory | Creates value stacks (since 2.1) | singleton | com.opensymphony.xwork2.util.ValueStackFactory | | struts.reflectionProvider | Provides reflection services, key place to plug in a custom expression language (since 2.1) | singleton | com.opensymphony.xwork2.reflection.ReflectionProvider | @@ -319,7 +319,7 @@ public class VelocityBeanSelectionProvider extends AbstractBeanSelectionProvider @Override public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException { - alias(VelocityManagerInterface.class, VelocityConstants.STRUTS_VELOCITY_MANAGER_CLASSNAME, builder, props); + alias(VelocityManager.class, VelocityConstants.STRUTS_VELOCITY_MANAGER_CLASSNAME, builder, props); } }