2013年8月12日

摘要: 1, Return subinterfaceFor example, we have a parent interface:public interface A> {T method1(int value);}Then we have subinterface:public interface B 阅读全文

posted @ 2013-08-12 20:28 chayu3 阅读(106) 评论(0) 推荐(0) 编辑

摘要: Elements in an automation test framework:actor,---simulate trader, have its own name, can get controll of the trading application.Actor'sinstantiation can be configured by spring beans in test project.controller,---simulate trading application GUI, can do various actions, each action can return 阅读全文

posted @ 2013-08-12 19:30 chayu3 阅读(127) 评论(0) 推荐(0) 编辑

摘要: The normal spring bean definition configuration file, the xsi:schemaLocation only has two: beans and spring-beans.xsd. To define camelContext in spring config file, another two should be added: spring and camel-spring-correlate.xsd. And in , pls specify xmlns=http://camel.apache.org/schema/spring.Mo 阅读全文

posted @ 2013-08-12 19:30 chayu3 阅读(257) 评论(0) 推荐(0) 编辑

摘要: Custom annotation definition is similar as Interface, just with @ in front. Annotation interface itself can have or have not annotations. @Retention(RetentionPolicy.RUNTIME) means VM will retain annotation with this type so they can be read reflectively at run-time.Java defines a set of annotations 阅读全文

posted @ 2013-08-12 15:13 chayu3 阅读(229) 评论(0) 推荐(0) 编辑