diff options
Diffstat (limited to 'branches/sca-java-1.4/modules/sca-api/src/main/java/org')
-rw-r--r-- | branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java b/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java index e25917e0f8..52290a4bba 100644 --- a/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java +++ b/branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java @@ -96,27 +96,5 @@ public interface ComponentContext { * * @return the SCA request context; may be null */ - RequestContext getRequestContext(); - - - /* ******************** Contribution for issue TUSCANY-2281 ******************** */ - - /** - * Returns a Collection of typed service proxies for a business interface type and a reference name. - * @param businessInterface the interface that will be used to invoke the service - * @param referenceName the name of the reference - * @param <B> the Java type of the business interface for the reference - * @return a Collection of objects that implements the business interface - */ - <B> Collection<B> getServices(Class<B> businessInterface, String referenceName); - - - /** - * Returns a Collection of typed service reference for a business interface type and a reference name. - * @param businessInterface the interface that will be used to invoke the service - * @param referenceName the name of the reference - * @param <B> the Java type of the business interface for the reference - * @return a Collection of objects that implements the business interface - */ - <B> Collection<ServiceReference<B>> getServiceReferences(Class<B> businessInterface, String referenceName); + RequestContext getRequestContext(); } |