摘要:
太晚了,有些东西没有补充,回头再补上。先上Demo1.要执行的方法package enhancerTest;/** * Created by LiuSuSu on 2017/3/26. */public class UserService { public void doxx(){ System.out.println("do..."); }}2. 代理类package ... 阅读全文
posted @ 2017-03-26 23:47
LiuChunfu
阅读(644)
评论(0)
推荐(0)
摘要:
对象复制听说用这个更高效/** * 拷贝对象 * @param src 源对象 * @param dist 需要赋值的对象 */public static void copy(Object src, Object dist) { BeanCopier copier = BeanCopier .create(src.getClass(), dist.getClass(),... 阅读全文
posted @ 2017-03-26 23:45
LiuChunfu
阅读(782)
评论(0)
推荐(0)
摘要:
一、解释Introspector 内省,自我检查。位于java中的java.beans包中,其原文说明文为:The Introspector class provides a standard way for tools to learn about the properties, events, and methods supported by a target Java Bean.中文大意为... 阅读全文
posted @ 2017-03-26 23:34
LiuChunfu
阅读(694)
评论(0)
推荐(0)

浙公网安备 33010602011771号