8 |
import javax.ws.rs.ApplicationPath; |
import javax.ws.rs.ApplicationPath; |
9 |
import javax.ws.rs.core.Application; |
import javax.ws.rs.core.Application; |
10 |
|
|
11 |
|
import dk.daoas.adressevedligehold.tasks.TaskRestService; |
12 |
|
|
13 |
|
|
14 |
@ApplicationPath("rest") |
@ApplicationPath("rest") |
15 |
public class RestManager extends Application { |
public class RestManager extends Application { |
32 |
|
|
33 |
//resources.add(ExceptionListener.class); |
//resources.add(ExceptionListener.class); |
34 |
|
|
35 |
|
resources.add(TaskRestService.class); |
36 |
resources.add(RestCommands.class); |
resources.add(RestCommands.class); |
37 |
//==> we could also choose packages, see below getProperties() |
//==> we could also choose packages, see below getProperties() |
38 |
|
|