Skip to content

Commit

Permalink
Singleton resource & constr. injection failing
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Aslanoglou committed Apr 13, 2021
1 parent 2234069 commit 72a40a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/acme/getting/started/GreetingResource.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package org.acme.getting.started;

import javax.inject.Inject;
import javax.inject.Singleton;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.jboss.resteasy.annotations.jaxrs.PathParam;

@Singleton
@Path("/hello")
public class GreetingResource {

Expand Down

0 comments on commit 72a40a7

Please sign in to comment.