We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51771d commit 7d85baeCopy full SHA for 7d85bae
src/main/java/com/packtpub/javaee8/EventsResource.java
@@ -1,7 +1,5 @@
1
package com.packtpub.javaee8;
2
3
-import javax.annotation.Resource;
4
-import javax.enterprise.concurrent.ManagedScheduledExecutorService;
5
import javax.enterprise.context.ApplicationScoped;
6
import javax.json.bind.annotation.JsonbPropertyOrder;
7
import javax.ws.rs.*;
@@ -17,9 +15,6 @@
17
15
@Path("events")
18
16
public class EventsResource {
19
20
- @Resource
21
- private ManagedScheduledExecutorService executorService;
22
-
23
private volatile SseEventSink eventSink;
24
25
@GET
0 commit comments