Fixes INT-243 - update samples

This commit is contained in:
Marius Bogoevici
2008-06-04 03:35:19 +00:00
parent 0f64b81180
commit 07cb2e6d98
8 changed files with 0 additions and 8 deletions

View File

@@ -39,7 +39,6 @@ public class CafeDemo {
else {
context = new ClassPathXmlApplicationContext("cafeDemo.xml", CafeDemo.class);
}
context.start();
Cafe cafe = (Cafe) context.getBean("cafe");
DrinkOrder order = new DrinkOrder();
Drink hotDoubleLatte = new Drink(DrinkType.LATTE, 2, false);

View File

@@ -29,7 +29,6 @@ public class BinaryFileCopyDemo {
FileCopyDemoCommon.setupDirectories();
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("fileCopyDemo-binary.xml",
BinaryFileCopyDemo.class);
context.start();
}
}

View File

@@ -29,7 +29,6 @@ public class FileBasedFileCopyDemo {
FileCopyDemoCommon.setupDirectories();
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("fileCopyDemo-file.xml",
FileBasedFileCopyDemo.class);
context.start();
}
}

View File

@@ -30,7 +30,6 @@ public class TextFileCopyDemo {
FileCopyDemoCommon.setupDirectories();
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("fileCopyDemo-text.xml",
TextFileCopyDemo.class);
context.start();
}
}

View File

@@ -32,7 +32,6 @@ public class HelloWorldDemo {
public static void main(String[] args) {
AbstractApplicationContext context = new ClassPathXmlApplicationContext("helloWorldDemo.xml", HelloWorldDemo.class);
context.start();
ChannelRegistry channelRegistry = (ChannelRegistry) context.getBean(MessageBusParser.MESSAGE_BUS_BEAN_NAME);
MessageChannel inputChannel = channelRegistry.lookupChannel("inputChannel");
MessageChannel outputChannel = channelRegistry.lookupChannel("outputChannel");

View File

@@ -26,7 +26,6 @@ public class OddEvenDemo {
public static void main(String[] args) {
AbstractApplicationContext context = new ClassPathXmlApplicationContext("oddEvenDemo.xml", OddEvenDemo.class);
context.start();
}
}

View File

@@ -26,6 +26,5 @@ public class QuoteDemo {
public static void main(String[] args) {
AbstractApplicationContext context = new ClassPathXmlApplicationContext("quoteDemo.xml", QuoteDemo.class);
context.start();
}
}

View File

@@ -31,7 +31,6 @@ public class WebServiceDemo {
public static void main(String[] args) {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("temperatureConversion.xml", WebServiceDemo.class);
context.start();
// Compose the XML message according to the server's schema
String requestMessage =