diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-10 10:33:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-10 10:33:50 +0000 |
commit | 9809f8dcf79ef1619eefea3e7b9b3d7abacdd007 (patch) | |
tree | 26cf9d867ab6525b54c48689e0691bde045136ca /branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java | |
parent | 15f1ab29b1aa8c99828fb3ab58869506cdc56dd8 (diff) |
TUSCANY-2732 - Separate a Tuscany extension to the component context from the OSOA component context
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@725052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.4/modules/sca-api/src/main/java/org/osoa/sca/ComponentContext.java')
-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(); } |