You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2023/03/26 12:28:28 UTC

[struts-site] branch WW-5289-executor updated (20812cef0 -> 8101dd218)

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch WW-5289-executor
in repository https://gitbox.apache.org/repos/asf/struts-site.git


 discard 20812cef0 WW-5289 Updates docs about new extension point
     new 8101dd218 WW-5289 Updates docs about new extension point

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (20812cef0)
            \
             N -- N -- N   refs/heads/WW-5289-executor (8101dd218)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 source/core-developers/execute-and-wait-interceptor.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[struts-site] 01/01: WW-5289 Updates docs about new extension point

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5289-executor
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 8101dd218eeed89c449c7dc4c526f0af113b8aae
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sun Mar 26 14:15:45 2023 +0200

    WW-5289 Updates docs about new extension point
---
 source/core-developers/execute-and-wait-interceptor.md | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/source/core-developers/execute-and-wait-interceptor.md b/source/core-developers/execute-and-wait-interceptor.md
index 6cc90e21d..fed41ed50 100644
--- a/source/core-developers/execute-and-wait-interceptor.md
+++ b/source/core-developers/execute-and-wait-interceptor.md
@@ -67,18 +67,19 @@ process extension, extend `ExecuteAndWaitInterceptor` and implement the `getNewB
 
 ## Using ExecutorProvider
 
-Since Struts 6.1.1 it is possible to use your own `ExecutorProvider` to run _background tasks_. To use your own executor
+Since Struts 6.2.0 it is possible to use your own `ExecutorProvider` to run _background tasks_. To use your own executor
 you must implement interface `org.apache.struts2.interceptor.exec.ExecutorProvider` and install the bean using `struts.xml`
 like follows:
 
 ```xml
-<bean type="org.apache.struts2.interceptor.exec.ExecutorProvider" 
+<bean type="org.apache.struts2.interceptor.exec.ExecutorProvider" name="myExecutor"
       class="com.company.MyExecutorProvider"/>
-```
 
-Please take a look into example implementation in the Showcase App.
+<constant name="struts.executor.provider" value="myExecutor"/>
+```
 
-If no custom executor is defined, Struts will use `org.apache.struts2.interceptor.exec.StrutsExecutorProvider` by default.
+Please take a look into example implementation in the Showcase App. If no custom executor has been defined, 
+Struts will use `org.apache.struts2.interceptor.exec.StrutsExecutorProvider` by default.
 
 ## Examples