03 2014 档案

摘要:测试环境 Spring3 M2 quartz-2.1.7我们要达到这样的效果public class CancelUnpaidOrderTask implements Job { @Autowired private AppOrderService orderService; @O... 阅读全文
posted @ 2014-03-18 18:02 大新博客 编辑
摘要:http://www.cnblogs.com/pigwing/archive/2011/07/12/2104002.htmlhttp://blog.arganzheng.me/posts/quartz-and-spring-integration-ioc-autowire.html 阅读全文
posted @ 2014-03-15 17:10 大新博客 阅读(604) 评论(0) 推荐(0) 编辑
摘要:public class SimpleExample { public void run() throws Exception { Logger log = LoggerFactory.getLogger(SimpleExample.class); log.info("------- Initializing ----------------------"); // First we must get a reference to a scheduler SchedulerFactory sf = new StdSchedu... 阅读全文
posted @ 2014-03-14 15:46 大新博客 阅读(16415) 评论(0) 推荐(1) 编辑
摘要:格式 Message message = new Message("all@broadcast.192.168.1.253");使用openfire的广播功能首先需要在插件的页面里安装broadcast,然后通过Smack就可以发送广播了. 阅读全文
posted @ 2014-03-10 11:27 大新博客 阅读(249) 评论(0) 推荐(0) 编辑
摘要:Spring 事物传播特性这是Spring官方的定义 一共有7种 摘自源码省略了一部分public interface TransactionDefinition { int PROPAGATION_REQUIRED = 0; int PROPAGATION_SUPPORTS = 1; int PROPAGATION_MANDATORY = 2; int PROPAGATION_REQUIRES_NEW = 3; int PROPAGATION_NOT_SUPPORTED = 4; int PROPAGATION_NEVER = 5; int PROP... 阅读全文
posted @ 2014-03-02 22:06 大新博客 阅读(806) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示