All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ars.invoke.Invoker Maven / Gradle / Ivy

There is a newer version: 2.0.6
Show newest version
package ars.invoke;

import ars.invoke.Resource;
import ars.invoke.request.Requester;

/**
 * 服务调用接口
 * 
 * @author yongqiangwu
 * 
 */
public interface Invoker {
	/**
	 * 执行请求调用
	 * 
	 * @param requester
	 *            请求对象
	 * @param resource
	 *            接口资源
	 * @return 调用结果
	 * @throws Exception
	 *             操作异常
	 */
	public Object execute(Requester requester, Resource resource) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy