diff options
Diffstat (limited to 'sandbox/slaws/runtimecompat/1xlauncher/src')
-rw-r--r-- | sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java b/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java index 251e5f1ff6..215b211d13 100644 --- a/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java +++ b/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java @@ -26,8 +26,12 @@ import org.apache.tuscany.sca.node.SCANodeFactory; public class OneXLauncher { public static void main(String[] args) throws Exception { + OneXLauncher.launchNode(); + } + + public static void launchNode(){ SCANode node = SCANodeFactory.newInstance().createSCANode("Calculator.composite", - new SCAContribution("calculator", "../1xcalculator.jar")); + new SCAContribution("calculator", "../1xcalculator.jar")); node.start(); |