fix injection

This commit is contained in:
Peter Hormanns 2021-09-14 19:16:15 +02:00
parent bf39b135b2
commit 71ff5dcd2b

View File

@ -2,7 +2,7 @@ package de.hsadmin.rest.customer;
import java.util.List; import java.util.List;
import javax.inject.Inject; import javax.ejb.EJB;
import javax.ws.rs.GET; import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam; import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path; import javax.ws.rs.Path;
@ -18,10 +18,10 @@ import de.hsadmin.service.customer.ContactVO;
@Path("/contacts") @Path("/contacts")
public class ContactsAPI { public class ContactsAPI {
@Inject @EJB
LoginService login; LoginService login;
@Inject @EJB
ContactService ejb; ContactService ejb;
@GET @GET