上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 47 下一页
摘要: 1. Concepts 1. Concepts 1. Concepts Aspect-Oriented Programming (AOP) complements OOP by providing another way of thinking about program structure. Wh 阅读全文
posted @ 2018-07-29 11:07 bf378 阅读(267) 评论(0) 推荐(0)
摘要: 如果没有一个Bean依赖另一个Bean的static代码块进行初始化的话,我们可以使用depend-on实现,官方文档如下: For most situations, the fact that a bean is a dependency of another is expressed simpl 阅读全文
posted @ 2018-07-29 00:08 bf378 阅读(120) 评论(0) 推荐(0)
摘要: A less commonly useful form of method injection than Lookup Method Injection is the ability to replace arbitrary methods in a managed bean with anothe 阅读全文
posted @ 2018-07-28 23:30 bf378 阅读(251) 评论(0) 推荐(0)
摘要: 对于Spring的多数用户而言,主要的Bean存在形式都是单例,当一个单例需要结合另一个单例协作或者一个非单例与另一个非单例协作时,典型的做法是通过属性的形式注入,但是当两个Bean的声明周期不同时候这会存在一个问题。例如单例A依赖一个非单例B,而对外提供的服务是通过A暴露的,这样的话每一次调用A的 阅读全文
posted @ 2018-07-28 23:23 bf378 阅读(755) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2018-07-27 19:28 bf378 阅读(3789) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2018-07-26 22:50 bf378 阅读(0) 评论(0) 推荐(0)
摘要: https://www.ibm.com/developerworks/cn/java/j-lo-taskschedule/ 阅读全文
posted @ 2018-07-26 10:46 bf378 阅读(743) 评论(0) 推荐(0)
摘要: /** * Created by liuguangxin on 2018/4/26. * */ object ExecutionUtils { def execute(command: String, maps: util.Map[String, Object]): DataFrame = { val jexlEngine = new JexlEngine() ... 阅读全文
posted @ 2018-07-23 14:16 bf378 阅读(117) 评论(0) 推荐(0)
摘要: 数据库表A: 数据库B: 目标:创建表使得表B中的taskname为外键,参考表A中的taskname字段,创建表发现报错如下: 经过排查找到问题原因: 表A中的taskname必须使用UNIQUE字段修饰,这样保证记录唯一性,当表B参考时候不会出现歧义。 阅读全文
posted @ 2018-07-19 15:36 bf378 阅读(989) 评论(0) 推荐(0)
摘要: 使用JVM参数即可:-XX:+TraceClassLoading 阅读全文
posted @ 2018-07-05 17:35 bf378 阅读(1921) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 47 下一页