摘要:
1.目标类接口:package com.interceptor;public interface TargetInterface { public void doSomething();}2.目标类实现:package com.interceptor;public class Target implements TargetInterface{ public void doSomething() { System.out.println("doSomething"); }}3.自定义拦截器:package com.interceptor;public c... 阅读全文