WW-4874 Refactors technology name, servlet3, to asset name, async

This commit is contained in:
Yasser Zamani
2017-11-25 10:11:26 +03:30
committed by Yasser Zamani
parent 1c0976a869
commit eaed709f1d
5 changed files with 8 additions and 8 deletions
@@ -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>
@@ -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;
@@ -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;
@@ -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
View File
@@ -56,7 +56,7 @@
<module>spring</module>
<module>testng</module>
<module>tiles</module>
<module>servlet3</module>
<module>async</module>
</modules>
<dependencies>