summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-09-15 08:16:33 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-09-15 08:16:33 +0000
commitdded56af9f181bf0f7ff953731986ca08b242323 (patch)
tree2ff9d7cc78fe8079a1438f717eb17f9b3c94746e /sca-java-2.x/trunk/modules
parent9d7c57a0e1c12472126c0888ef238c00d93e9001 (diff)
TUSCANY-3945 - Make public the operations that allow the promoted component and service to be accessed.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1170998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.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/assembly/impl/RuntimeEndpointImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
index 9fbef857ee..db8911d466 100644
--- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
+++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java
@@ -828,7 +828,7 @@ public class RuntimeEndpointImpl extends EndpointImpl implements RuntimeEndpoint
* @param topCompositeService
* @return
*/
- private ComponentService getPromotedComponentService(CompositeService compositeService) {
+ public ComponentService getPromotedComponentService(CompositeService compositeService) {
ComponentService componentService = compositeService.getPromotedService();
if (componentService != null) {
Service service = componentService.getService();
@@ -855,7 +855,7 @@ public class RuntimeEndpointImpl extends EndpointImpl implements RuntimeEndpoint
* @param compositeService
* @return
*/
- private Component getPromotedComponent(CompositeService compositeService) {
+ public Component getPromotedComponent(CompositeService compositeService) {
ComponentService componentService = compositeService.getPromotedService();
if (componentService != null) {
Service service = componentService.getService();