摘要: 直接上代码了。实现类 1 package com.cglib.service.impl; 2 3 public class AopServiceImpl { 4 5 private String user = null; 6 7 public String getUser() { 8 return user; 9 }10 11 public void setUser(String user) {12 this.user = user;13 }14 15 public AopServiceImpl() {16 ... 阅读全文
posted @ 2012-03-17 20:23 Paul.Lau 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 直接上代码,需要注意的地方已经加上注释。接口1 package com.proxy.service;2 3 public interface AopService {4 public void save();5 }实现类 1 package com.proxy.service.impl; 2 3 import com.proxy.service.AopService; 4 5 public class AopServiceImpl implements AopService { 6 7 private String user = null; 8 9 public... 阅读全文
posted @ 2012-03-17 19:55 Paul.Lau 阅读(663) 评论(0) 推荐(0) 编辑