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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 1f880082e Automatic Site Publish by Buildbot
1f880082e is described below

commit 1f880082e8aa90382b201353a3c69da047bfb72a
Author: buildbot <us...@infra.apache.org>
AuthorDate: Thu Mar 30 17:33:41 2023 +0000

    Automatic Site Publish by Buildbot
---
 output/core-developers/execute-and-wait-interceptor.html | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/output/core-developers/execute-and-wait-interceptor.html 
b/output/core-developers/execute-and-wait-interceptor.html
index 7e780851e..dac520389 100644
--- a/output/core-developers/execute-and-wait-interceptor.html
+++ b/output/core-developers/execute-and-wait-interceptor.html
@@ -206,17 +206,18 @@ process extension, extend <code class="language-plaintext 
highlighter-rouge">Exe
 
 <h2 id="using-executorprovider">Using ExecutorProvider</h2>
 
-<p>Since Struts 6.1.1 it is possible to use your own <code 
class="language-plaintext highlighter-rouge">ExecutorProvider</code> to run 
<em>background tasks</em>. To use your own executor
+<p>Since Struts 6.2.0 it is possible to use your own <code 
class="language-plaintext highlighter-rouge">ExecutorProvider</code> to run 
<em>background tasks</em>. To use your own executor
 you must implement interface <code class="language-plaintext 
highlighter-rouge">org.apache.struts2.interceptor.exec.ExecutorProvider</code> 
and install the bean using <code class="language-plaintext 
highlighter-rouge">struts.xml</code>
 like follows:</p>
 
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;bean</span> <span 
class="na">type=</span><span 
class="s">"org.apache.struts2.interceptor.exec.ExecutorProvider"</span> 
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="nt">&lt;bean</span> <span 
class="na">type=</span><span 
class="s">"org.apache.struts2.interceptor.exec.ExecutorProvider"</span> <span 
class="na">name=</span><span class="s">"myExecutor"</span>
       <span class="na">class=</span><span 
class="s">"com.company.MyExecutorProvider"</span><span class="nt">/&gt;</span>
-</code></pre></div></div>
 
-<p>Please take a look into example implementation in the Showcase App.</p>
+<span class="nt">&lt;constant</span> <span class="na">name=</span><span 
class="s">"struts.executor.provider"</span> <span class="na">value=</span><span 
class="s">"myExecutor"</span><span class="nt">/&gt;</span>
+</code></pre></div></div>
 
-<p>If no custom executor is defined, Struts will use <code 
class="language-plaintext 
highlighter-rouge">org.apache.struts2.interceptor.exec.StrutsExecutorProvider</code>
 by default.</p>
+<p>Please take a look into example implementation in the Showcase App. If no 
custom executor has been defined, 
+Struts will use <code class="language-plaintext 
highlighter-rouge">org.apache.struts2.interceptor.exec.StrutsExecutorProvider</code>
 by default.</p>
 
 <h2 id="examples">Examples</h2>
 

Reply via email to