From ce670f8fc119fc342ab628dfaa8ab42f9cf4bb3f Mon Sep 17 00:00:00 2001 From: rfeng Date: Wed, 3 Feb 2010 22:00:39 +0000 Subject: Add domainURI/nodeURI to runtime endpoint/endpoint reference git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@906262 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/osgi/remoteserviceadmin/impl/RemoteServiceAdminImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/node-impl-osgi') diff --git a/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/osgi/remoteserviceadmin/impl/RemoteServiceAdminImpl.java b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/osgi/remoteserviceadmin/impl/RemoteServiceAdminImpl.java index b6b80c8524..bcda806165 100644 --- a/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/osgi/remoteserviceadmin/impl/RemoteServiceAdminImpl.java +++ b/sca-java-2.x/trunk/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/osgi/remoteserviceadmin/impl/RemoteServiceAdminImpl.java @@ -250,7 +250,8 @@ public class RemoteServiceAdminImpl implements RemoteServiceAdmin, ManagedServic EndpointDescription ep = null; if (rsaEvent.getImportReference() != null) { ep = rsaEvent.getImportReference().getImportedEndpoint(); - } else { + } + if (rsaEvent.getExportReference() != null) { ep = rsaEvent.getExportReference().getExportedEndpoint(); } props.put("endpoint.service.id", ep.getServiceId()); -- cgit v1.2.3