You can buy this project and download/modify it how often you want.
package cn.tom.mvc.interceptor; import java.io.Serializable; public interface Interceptor { public abstract boolean before (ActionInvocation actionInvocation); public abstract void after (ActionInvocation actionInvocation); }