WebService之CXF注解之二(Service接口)

ITeacherService.java:

/**
 * @Title:ITeacherService.java
 * @Package:com.you.service
 * @Description:教师Service接口
 * @author:Youhaidong(游海东)
 * @date:2014-5-5 下午11:06:24
 * @version V1.0
 */
package com.you.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

import com.you.model.Teacher;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * <p>Title:ITeacherService.java</p>
 * <p>Description:游海东个人开发</p>
 * <p>Copyright:Copyright(c)2013</p>
 * @author:游海东
 * @date:2014-5-5 下午11:06:24
 * @version V1.0
 */
@WebService
public interface ITeacherService
{
	/**
	 *
	 * @Title:findTeacherInfo
	 * @Description:
	 * @param:@param teacher
	 * @param:@return
	 * @return:String
	 * @throws
	 */
	@WebMethod
    public String findTeacherInfo(@WebParam Teacher teacher);
}
上一篇:Spring 初学 1


下一篇:C#整理4——循环语句