idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
[idok-commit] idok commit r229 - branches/rest/java/ch/idok/service/server/rest
Chronological Thread
- From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r229 - branches/rest/java/ch/idok/service/server/rest
- Date: Tue, 23 Sep 2008 17:49:13 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: geus
Date: Tue Sep 23 17:49:13 2008
New Revision: 229
Log:
Updated to match latest JAX-RS draft
Modified:
branches/rest/java/ch/idok/service/server/rest/IdokAppConfig.java
Modified: branches/rest/java/ch/idok/service/server/rest/IdokAppConfig.java
==============================================================================
--- branches/rest/java/ch/idok/service/server/rest/IdokAppConfig.java
(original)
+++ branches/rest/java/ch/idok/service/server/rest/IdokAppConfig.java Tue
Sep 23 17:49:13 2008
@@ -3,18 +3,18 @@
import java.util.HashSet;
import java.util.Set;
-import javax.ws.rs.core.ApplicationConfig;
+import javax.ws.rs.core.Application;
import ch.idok.service.server.admin.rest.RestAdminServiceResource;
import ch.idok.service.server.search.rest.RestSearchServiceResource;
-public class IdokAppConfig extends ApplicationConfig {
+public class IdokAppConfig extends Application {
/**
* @see javax.ws.rs.core.ApplicationConfig#getResourceClasses()
*/
@Override
- public Set<Class<?>> getResourceClasses() {
+ public Set<Class<?>> getClasses() {
Set<Class<?>> rrcs = new HashSet<Class<?>>();
rrcs.add(RestSearchServiceResource.class);
rrcs.add(RestAdminServiceResource.class);
- [idok-commit] idok commit r229 - branches/rest/java/ch/idok/service/server/rest, AFS account Roman Geus, 09/23/2008
Archive powered by MHonArc 2.6.19.