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

时间:2014-05-07 06:38:47   收藏:0   阅读:504

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);
}


WebService之CXF注解之二(Service接口),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!