Package net.hasor.mvc.strategy

Examples of net.hasor.mvc.strategy.CallStrategy


    public Object invoke(Map<String, ?> params) throws Throwable {
        return this.invoke(null, params);
    }
    /**调用目标*/
    public Object invoke(CallStrategy call, Map<String, ?> params) throws Throwable {
        final CallStrategy alCall = this.createCallStrategy(call);
        final Map<String, ?> atParams = (params == null) ? new HashMap<String, Object>() : params;
        //
        final ModelController mc = this.targetProvider.get();
        return alCall.exeCall(new Call() {
            public Set<String> getParamKeys() {
                return atParams.keySet();
            }
            public Object getParam(String key) {
                return atParams.get(key);
View Full Code Here

TOP

Related Classes of net.hasor.mvc.strategy.CallStrategy

Copyright © 2018 www.massapicom. 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.