diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-09 14:00:59 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-09 14:00:59 +0000 |
commit | 65145ace6c12a703bb3a8f9063d338d2703d86f0 (patch) | |
tree | f957508b62db2737a073d555a12f00bd3288e622 /sca-java-2.x/trunk/modules/core-spi/src | |
parent | 3947e373c50dc536f99547d3d03a224bee34a769 (diff) |
Start looking at support for a Shell command to show the domain level composite, this includes adding info about the running composites to the domain registry and a the new shell command to access it.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101031 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core-spi/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointRegistry.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointRegistry.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointRegistry.java index ed2d6894c0..a2ceeda5a7 100644 --- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointRegistry.java @@ -22,6 +22,9 @@ package org.apache.tuscany.sca.runtime; import java.util.Collection; import java.util.List; +import javax.xml.namespace.QName; + +import org.apache.tuscany.sca.assembly.Composite; import org.apache.tuscany.sca.assembly.Endpoint; import org.apache.tuscany.sca.assembly.EndpointReference; @@ -76,4 +79,8 @@ public interface EndpointRegistry { void removeListener(EndpointListener listener); String getDomainURI(); + + void addRunningComposite(Composite composite); + void removeRunningComposite(QName name); + List<Composite> getRunningComposites(); } |