abstractinterceptor.java

来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 32 行

JAVA
32
字号
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.interceptor;import com.opensymphony.xwork2.ActionInvocation;/** * Provides default implementations of optional lifecycle methods */public abstract class AbstractInterceptor implements Interceptor {    /**     * Does nothing     */    public void init() {    }        /**     * Does nothing     */    public void destroy() {    }    /**     * Override to handle interception     */    public abstract String intercept(ActionInvocation invocation) throws Exception;}

⌨️ 快捷键说明

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