动态代理简单测试

流沙 | JAVA | 2016-08-04
1\被代理类 package com.gyarmy.proxy; public class Liyuchun implements Person { @Override public String sing(String name) { // TODO Auto-generated method stub System.out.println("李宇春 唱歌..."+name); return "sing over"; } @Override public String dance(String name) { //...

阅读全文>>

ė444次浏览 60条评论 0 代理 proxy

Ɣ回顶部