diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-09 21:20:45 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-09 21:20:45 +0000 |
commit | 6c51c6d6f32b9972ed825f1444309212f9d99a21 (patch) | |
tree | 8acdefe3ff30f2336d73aafb59a2651e0dd4f026 /sca-java-2.x/trunk/modules/node-api/src/main/java | |
parent | bee47a62dc7805d7cfd71ee379ebc29519268c4e (diff) |
Start to clean up the node-api (remove Node.destroy())
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@908233 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-api/src/main/java')
2 files changed, 1 insertions, 7 deletions
diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/Node.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/Node.java index 0c1633b9d9..b02919fb8f 100644 --- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/Node.java +++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/Node.java @@ -46,10 +46,5 @@ public interface Node extends Client { */ void stop(); - /** - * Destroy the node. - */ - void destroy(); - - public List<String> getServiceNames(); + List<String> getServiceNames(); } diff --git a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeMain2.java b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeMain2.java index 6ffdde2634..c42bacdd00 100644 --- a/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeMain2.java +++ b/sca-java-2.x/trunk/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeMain2.java @@ -51,6 +51,5 @@ public class NodeMain2 { } node.stop(); - node.destroy(); } } |