diff options
author | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-02 17:08:20 +0000 |
---|---|---|
committer | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-02 17:08:20 +0000 |
commit | 5ea89068b364bb03a12d4311d05ff9c91d378b7c (patch) | |
tree | 48d8c9ae261eed195409495573bc443e4b586d2e /branches/sca-java-1.x/itest/spring/src/test | |
parent | ec4ca248e6e7cb5107f6e30e793391d1b43ba479 (diff) |
Updated fixes for TUSCANY-3069
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@790682 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/spring/src/test')
-rw-r--r-- | branches/sca-java-1.x/itest/spring/src/test/java/context/multiple/StockQuoteServer.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/branches/sca-java-1.x/itest/spring/src/test/java/context/multiple/StockQuoteServer.java b/branches/sca-java-1.x/itest/spring/src/test/java/context/multiple/StockQuoteServer.java index 0f4d9f7c42..18c7ca6a74 100644 --- a/branches/sca-java-1.x/itest/spring/src/test/java/context/multiple/StockQuoteServer.java +++ b/branches/sca-java-1.x/itest/spring/src/test/java/context/multiple/StockQuoteServer.java @@ -39,12 +39,7 @@ public class StockQuoteServer { SCANodeFactory factory = SCANodeFactory.newInstance();
SCANode node = factory.createSCANode(new File("src/main/resources/context/multiple/StockQuote.composite").toURL().toString(),
new SCAContribution("TestContribution", new File("src/main/resources/context/multiple/").toURL().toString()));
- node.start();
-
- // Method 1: To access the Spring Application Context instance
- ApplicationContext ctx = SCAApplicationContextProvider.getApplicationContext();
- if (ctx.containsBean("StockQuoteServiceBean"))
- System.out.println("StockQuoteServiceBean is now available for use...");
+ node.start();
System.out.println("Press Enter to Exit...");
Thread.sleep(1000);
|