mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
WW-4874 Refactors technology name, servlet3, to asset name, async
This commit is contained in:
committed by
Yasser Zamani
parent
1c0976a869
commit
eaed709f1d
@@ -27,8 +27,8 @@
|
||||
<version>2.5.14-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>struts2-servlet3-plugin</artifactId>
|
||||
<name>Struts 2 Servlet3 Plugin</name>
|
||||
<artifactId>struts2-async-plugin</artifactId>
|
||||
<name>Struts 2 Async Plugin</name>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.apache.struts2.servlet3.async;
|
||||
package org.apache.struts2.async;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.Executor;
|
||||
+3
-3
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.apache.struts2.servlet3.async;
|
||||
package org.apache.struts2.async;
|
||||
|
||||
import com.opensymphony.xwork2.AsyncManager;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@@ -37,8 +37,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
*
|
||||
* @since 2.5.14
|
||||
*/
|
||||
public class Servlet3AsyncManager implements AsyncManager, AsyncListener {
|
||||
private static final Logger LOG = LogManager.getLogger(Servlet3AsyncManager.class);
|
||||
public class DefaultAsyncManager implements AsyncManager, AsyncListener {
|
||||
private static final Logger LOG = LogManager.getLogger(DefaultAsyncManager.class);
|
||||
private static final AtomicInteger threadCount = new AtomicInteger(0);
|
||||
|
||||
private AsyncContext asyncContext;
|
||||
+1
-1
@@ -25,5 +25,5 @@
|
||||
|
||||
<struts>
|
||||
<bean type="com.opensymphony.xwork2.AsyncManager" name="default"
|
||||
class="org.apache.struts2.servlet3.async.Servlet3AsyncManager" scope="prototype" />
|
||||
class="org.apache.struts2.async.DefaultAsyncManager" scope="prototype" />
|
||||
</struts>
|
||||
+1
-1
@@ -56,7 +56,7 @@
|
||||
<module>spring</module>
|
||||
<module>testng</module>
|
||||
<module>tiles</module>
|
||||
<module>servlet3</module>
|
||||
<module>async</module>
|
||||
</modules>
|
||||
|
||||
<dependencies>
|
||||
|
||||
Reference in New Issue
Block a user