![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
大雄to
这个作者很懒,什么都没留下…
展开
-
freemarker自定义标签实现权限管理
freemarker自定义标签实现权限管理原创 2022-10-11 15:58:17 · 431 阅读 · 1 评论 -
面向切面编程
Aspect Oriented Programming 面向切面编程。解耦是程序员编码开发过程中一直追求的。AOP也是为了解耦所诞生。具体思想是:定义一个切面,在切面的纵向定义处理方法,处理完成之后,回到横向业务流。AOP 在Spring框架中被作为核心组成部分之一,的确Spring将AOP发挥到很强大的功能。最常见的就是事务控制。工作之余,对于使用的工具,不免需要了解其所以然。学习了一下,写了...转载 2018-05-25 15:41:58 · 190 阅读 · 0 评论 -
log4j日志扩展---自定义PatternLayout
目前扩展log4j的日志一般使用扩展adaper的方法,这里使用一种扩展PatternLayout方法.[java] view plain copylog4j.rootLogger=debug, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org....转载 2018-05-16 09:10:05 · 8245 阅读 · 0 评论 -
Runnable与Callable的Demo
说说Runnable与CallableCallable接口:public interface Callable<V> { V call() throws Exception;}Runnable接口:public interface Runnable { public abstract void run();}相同点:两者都是接口...转载 2019-05-27 14:43:54 · 154 阅读 · 0 评论