Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Commit 062b740

Browse files
author
Arun Gupta
committed
Using the DefaultManagedExecutorService instead of the created one
Former-commit-id: bc3d9fef9ead00325189f1d45b6b38f55eba5c63
1 parent 6b51938 commit 062b740

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/concurrency/executor/src/main/java/org/glassfish/executor/TestListenerServlet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
@WebServlet(name = "TestListenerServlet", urlPatterns = {"/TestListenerServlet"})
5656
public class TestListenerServlet extends HttpServlet {
5757

58-
@Resource(name = "concurrent/myExecutor")
59-
// @Resource(name = "DefaultManagedExecutorService")
58+
// @Resource(name = "concurrent/myExecutor")
59+
@Resource(name = "DefaultManagedExecutorService")
6060
ManagedExecutorService executor;
6161

6262
/**

0 commit comments

Comments
 (0)