interceptorchain.java

来自「一个轻量级的MVC框架实例」· Java 代码 · 共 19 行

JAVA
19
字号
package com.javaeedev.lightweight.mvc;

/**
 * Holds all interceptors as a chain.
 * 
 * @author Xuefeng
 */
public interface InterceptorChain {

    /**
     * Apply next interceptor around the execution of Action.
     * 
     * @param action Target Action to execute.
     * @throws Exception Any exception if error occured.
     */
    void doInterceptor(Action action) throws Exception;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?