Return-Path: X-Original-To: apmail-tuscany-commits-archive@www.apache.org Delivered-To: apmail-tuscany-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B30344203 for ; Mon, 6 Jun 2011 12:36:54 +0000 (UTC) Received: (qmail 36139 invoked by uid 500); 6 Jun 2011 12:36:54 -0000 Delivered-To: apmail-tuscany-commits-archive@tuscany.apache.org Received: (qmail 36121 invoked by uid 500); 6 Jun 2011 12:36:54 -0000 Mailing-List: contact commits-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list commits@tuscany.apache.org Received: (qmail 36114 invoked by uid 99); 6 Jun 2011 12:36:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:36:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:36:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 976C523889EA; Mon, 6 Jun 2011 12:36:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1132611 - /tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java Date: Mon, 06 Jun 2011 12:36:33 -0000 To: commits@tuscany.apache.org From: antelder@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110606123633.976C523889EA@eris.apache.org> Author: antelder Date: Mon Jun 6 12:36:33 2011 New Revision: 1132611 URL: http://svn.apache.org/viewvc?rev=1132611&view=rev Log: Add a method to the DomainRegistry to get the contribution uri for the composite taht contains a running component Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java?rev=1132611&r1=1132610&r2=1132611&view=diff ============================================================================== --- tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java (original) +++ tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/DomainRegistry.java Mon Jun 6 12:36:33 2011 @@ -93,6 +93,8 @@ public interface DomainRegistry { void removeRunningComposite(String contributionURI, String compositeURI); Map> getRunningCompositeURIs(); Composite getRunningComposite(String contributionURI, String compositeURI); + + String getContainingCompositesContributionURI(String componentName); List getMembers(); String getLocalMember();