From 71ff5dcd2b2aae5b422c329dd295a61dc45026fc Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 14 Sep 2021 19:16:15 +0200 Subject: [PATCH] fix injection --- .../src/main/java/de/hsadmin/rest/customer/ContactsAPI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java b/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java index a6eb6a8..ed70822 100644 --- a/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java +++ b/cust-services/src/main/java/de/hsadmin/rest/customer/ContactsAPI.java @@ -2,7 +2,7 @@ package de.hsadmin.rest.customer; import java.util.List; -import javax.inject.Inject; +import javax.ejb.EJB; import javax.ws.rs.GET; import javax.ws.rs.HeaderParam; import javax.ws.rs.Path; @@ -18,10 +18,10 @@ import de.hsadmin.service.customer.ContactVO; @Path("/contacts") public class ContactsAPI { - @Inject + @EJB LoginService login; - @Inject + @EJB ContactService ejb; @GET