fix injection
This commit is contained in:
parent
bf39b135b2
commit
71ff5dcd2b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user