Exemplo n.º 1
0
 public static void main(String[] args) {
   ApplicationContext context =
       new ClassPathXmlApplicationContext(
           "org/kasource/kaevent/example/spring/annotations/channel/channel-context.xml");
   Thermometer thermometer = (Thermometer) context.getBean("thermometer");
   thermometer.run();
 }