动态代理简单测试

2016-8-4 流沙 JAVA

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) { //...

阅读全文>>

标签: 代理 proxy

评论(0) 浏览(392)


Powered by 流沙团