摘要:
Spring整合RMI的原理客户端的核心是RmiProxyFactoryBean,包含serviceURL属性和serviceInterface属性。通过JRMP访问服务。JRMP JRMP:java remote method protocol,Java特有的,基于流的协议。服务端暴露远程服务Rm... 阅读全文
posted @ 2015-09-06 17:56
W&L
阅读(342)
评论(0)
推荐(0)
摘要:
1、目标是实现日志文件即按大小也要按日期生成日志,也就是按大小存储同时日期内容不能跨天(包含两天的内容)重构Appender思路:根据org.apache.log4j.DailyRollingFileAppender, 在其subAppend方法中加入一层条件判断文件大小;由于当天已存在的日志进行处... 阅读全文
posted @ 2015-09-06 17:45
W&L
阅读(1075)
评论(0)
推荐(0)
摘要:
Spring AOP的接口耗时统计/*** 通知* * @author wwl**/public class ActionAdvice implements MethodInterceptor { private Log log=LogFactory.getLog(ActionAdvice.clas... 阅读全文
posted @ 2015-09-06 17:34
W&L
阅读(1151)
评论(0)
推荐(1)

浙公网安备 33010602011771号