@@ -0,0 +1,807 @@
+/**%0A * Man %D3%BF%0A */%0Apublic interface Man %7B%0A    void run();%0A%7D%0A%0A/**%0A * RunMan %CB%B6%D4%B1%0A */%0Apublic class RunMan implements Man %7B%0A    public void run() %7B%0A        System.out.println(%22RunMan running%22);%0A    %7D%0A%7D%0A%0A/**%0A * ProxyMan%0A * %0A */%0Apublic class ProxyMan implements InvocationHandler %7B%0A    private Object proxyed;%0A%0A    public ProxyMan(Object proxyed) %7B%0A        this.proxyed = proxyed;%0A    %7D%0A%0A    public Object invoke(Object proxy, Method method, Object%5B%5D args) throws InvocationTargetException, IllegalAccessException %7B%0A        return method.invoke(proxyed, args);%0A    %7D%0A%7D%0A%0A// ----------------- %0A%0Apublic static void main(String%5B%5D args) %7B%0A    Man runMan = new RunMan();%0A    Man proxy = (Man) Proxy.newProxyInstance(Man.class.getClassLoader(),%0A            new Class%5B%5D%7BMan.class%7D, new ProxyMan(runMan));%0A%0A    proxy.run();%0A%7D

add 动态代理示例代码