summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-08 11:33:17 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-08 11:33:17 +0000
commite3d3099d8e7aafb39d2b831a9a1173073cc81582 (patch)
tree79a8202a49b5f5584ef54d38fd2d46acb6300c0c /sca-java-2.x/trunk/modules/core
parent2c43dd5ad1d42dfdc9d03578e0863e06a5ad9867 (diff)
Update for latest oasis api code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931886 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core')
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java
index 4829bab095..7a45c25982 100644
--- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java
+++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java
@@ -102,8 +102,8 @@ public class ComponentContextImpl implements RuntimeComponentContext {
return component.getURI();
}
- public <B, R extends ServiceReference<B>> R cast(B target) throws IllegalArgumentException {
- return (R)proxyFactory.cast(target);
+ public <B> ServiceReference<B> cast(B target) throws IllegalArgumentException {
+ return proxyFactory.cast(target);
}
public <B> B getService(Class<B> businessInterface, String referenceName) {