标签:spring gets line 传统 print java反射机制 功能 oca process
1. 传统的代理模式。
package springAOP;public class SubjectProxy implements IsubJect {private ISubject subject;public String Request(){//add pre-process logicif neccesarysubject.request();//add post process if neccesary}public ISubject getSubject(){return subject;}public void setSubject(ISubject subject){this.subject=subject;}}
标签:spring gets line 传统 print java反射机制 功能 oca process
原文地址:http://www.cnblogs.com/yTPety/p/6484412.html