summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-rest-runtime/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-11-17 07:00:34 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-11-17 07:00:34 +0000
commit73585773a33388d16c107f363964d37d78d1a028 (patch)
tree4245de840b5a114385995d4fb665497df84065c3 /sca-java-2.x/trunk/modules/binding-rest-runtime/src
parent2ebfb507d7b8759fd2d67d4b93ec692aa57dcbd1 (diff)
Add the discovery for javax.ws.rs.ext.RuntimeDelegate and update the slf4j version to fix the osgi rest sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035932 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/TuscanyRESTServlet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/TuscanyRESTServlet.java b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/TuscanyRESTServlet.java
index d862d386a5..061d615d3e 100644
--- a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/TuscanyRESTServlet.java
+++ b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/main/java/org/apache/tuscany/sca/binding/rest/provider/TuscanyRESTServlet.java
@@ -69,7 +69,8 @@ public class TuscanyRESTServlet extends RestServlet {
ClassLoader cl =
ClassLoaderContext.setContextClassLoader(Thread.currentThread().getContextClassLoader(),
registry.getServiceDiscovery(),
- "/META-INF/server/wink-providers");
+ "/META-INF/server/wink-providers",
+ "javax.ws.rs.ext.RuntimeDelegate");
try {
super.init();
} finally {