Package net.jsunit.interceptor

Source Code of net.jsunit.interceptor.ServerInterceptor

package net.jsunit.interceptor;

import com.opensymphony.xwork.Action;
import net.jsunit.JsUnitServer;
import net.jsunit.action.JsUnitServerAware;

public class ServerInterceptor extends JsUnitInterceptor {

    protected void execute(Action targetAction) throws Exception {
        JsUnitServerAware action = (JsUnitServerAware) targetAction;
        action.setJsUnitServer(JsUnitServer.instance());
    }

}
TOP

Related Classes of net.jsunit.interceptor.ServerInterceptor

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.