summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-06 12:56:06 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-04-06 12:56:06 +0000
commita6666a4eaacb2f194874d2b779d8a8806790a455 (patch)
treed6073a15c130aef1ffa94c763e9e4fc7345df05e
parent8b245147935eb1d7736870d237e4f4c5132a5094 (diff)
Destroy method has been removed so don't try and call it via reflection
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931131 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java b/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java
index 79aedc81c4..678d88dab7 100644
--- a/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java
+++ b/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java
@@ -325,7 +325,6 @@ public class NodeLauncher {
private static void destroyNode(Object node) throws Exception {
try {
node.getClass().getMethod("stop").invoke(node);
- node.getClass().getMethod("destroy").invoke(node);
logger.info("SCA Node is now stopped.");
} catch (Exception e) {
logger.log(Level.SEVERE, "SCA Node could not be stopped", e);